diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2016-02-25 16:31:30 -0600 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-04-21 13:51:54 -0500 |
commit | e490fd8148cb97cdefc802414254afd8aa9c068c (patch) | |
tree | 1cabc75431a7827bd1c7787cdbee59ed43263296 /src | |
parent | 97e3c907303b0584d03e262d3efa33fcc165bb18 (diff) | |
download | talos-hostboot-e490fd8148cb97cdefc802414254afd8aa9c068c.tar.gz talos-hostboot-e490fd8148cb97cdefc802414254afd8aa9c068c.zip |
PRD: Create domains for each P9 target
Change-Id: I0eb914dc1481fb743f46210a65893a45ba1e817d
RTC: 145943
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21343
Tested-by: Jenkins Server
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23212
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H | 34 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H | 62 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/cen/prdfCenMembufDomain.H | 52 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9CappDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9EcDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9EqDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9ExDomain.H | 62 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9McaDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9McbistDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9McsDomain.H | 62 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9ObusDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9PecDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9PhbDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9ProcDomain.H | 51 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9XbusDomain.H | 61 |
15 files changed, 863 insertions, 9 deletions
diff --git a/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H b/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H index f28f34789..199faab0f 100755 --- a/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H +++ b/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2008,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -21,8 +23,8 @@ /* */ /* IBM_PROLOG_END_TAG */ -#ifndef PRDFRULECHIPDOMAIN_H -#define PRDFRULECHIPDOMAIN_H +#ifndef __prdfP9RuleChipDomain_H +#define __prdfP9RuleChipDomain_H #include <iipDomainContainer.h> #include <prdfRuleChip.H> @@ -36,20 +38,34 @@ class RuleChipDomain : public DomainContainer<RuleChip> enum DefaultDomainSize { - // At minimum, should allocate for a fully configured single P8 murano + // At minimum, should allocate for a fully configured single P9 Nimbus // system. PROC_DOMAIN_SIZE = 1, - EX_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 6, - MCS_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 4, + EQ_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 6, + EX_DOMAIN_SIZE = EQ_DOMAIN_SIZE * 2, + EC_DOMAIN_SIZE = EX_DOMAIN_SIZE * 2, + OBUS_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 2, + XBUS_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 2, + PEC_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 3, + PHB_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 6, + CAPP_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 2, + MCBIST_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 2, + MCS_DOMAIN_SIZE = MCBIST_DOMAIN_SIZE * 2, + MCA_DOMAIN_SIZE = MCS_DOMAIN_SIZE * 2, MEMBUF_DOMAIN_SIZE = MCS_DOMAIN_SIZE, MBA_DOMAIN_SIZE = MEMBUF_DOMAIN_SIZE * 2, - TOTAL_CHIPS = PROC_DOMAIN_SIZE + EX_DOMAIN_SIZE + MCS_DOMAIN_SIZE + + TOTAL_CHIPS = PROC_DOMAIN_SIZE + + EQ_DOMAIN_SIZE + EX_DOMAIN_SIZE + EC_DOMAIN_SIZE + + OBUS_DOMAIN_SIZE + XBUS_DOMAIN_SIZE + + PEC_DOMAIN_SIZE + PHB_DOMAIN_SIZE + + CAPP_DOMAIN_SIZE + + MCBIST_DOMAIN_SIZE + MCS_DOMAIN_SIZE + MCA_DOMAIN_SIZE + MEMBUF_DOMAIN_SIZE + MBA_DOMAIN_SIZE, - TOTAL_DOMAINS = 5, + TOTAL_DOMAINS = 14, }; /** @fn RuleChipDomain @@ -79,4 +95,4 @@ class RuleChipDomain : public DomainContainer<RuleChip> } // end namespace PRDF -#endif /* PRDFRULECHIPDOMAIN_H */ +#endif /* __prdfP9RuleChipDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H b/src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H new file mode 100644 index 000000000..8b79859df --- /dev/null +++ b/src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H @@ -0,0 +1,62 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/cen/prdfCenMbaDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfCenMbaDomain_H +#define __prdfCenMbaDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class MbaDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + MbaDomain( DOMAIN_ID i_did, uint32_t i_size = MBA_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the memory buffer chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfCenMbaDomain_H */ + diff --git a/src/usr/diag/prdf/common/plat/cen/prdfCenMembufDomain.H b/src/usr/diag/prdf/common/plat/cen/prdfCenMembufDomain.H new file mode 100644 index 000000000..81bab964f --- /dev/null +++ b/src/usr/diag/prdf/common/plat/cen/prdfCenMembufDomain.H @@ -0,0 +1,52 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/cen/prdfCenMembufDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfCenMembufDomain_H +#define __prdfCenMembufDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class MembufDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + MembufDomain( DOMAIN_ID i_did, uint32_t i_size = MEMBUF_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + +}; + +} // end namespace PRDF + +#endif /* __prdfCenMembufDomain_H */ + diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9CappDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9CappDomain.H new file mode 100644 index 000000000..d82c12dfc --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9CappDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9CappDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9CappDomain_H +#define __prdfP9CappDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class CappDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + CappDomain( DOMAIN_ID i_did, uint32_t i_size = CAPP_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9CappDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9EcDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9EcDomain.H new file mode 100644 index 000000000..2a88444e2 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9EcDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9EcDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9EcDomain_H +#define __prdfP9EcDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class EcDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + EcDomain( DOMAIN_ID i_did, uint32_t i_size = EC_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9EcDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9EqDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9EqDomain.H new file mode 100644 index 000000000..4250fd4da --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9EqDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9EqDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9EqDomain_H +#define __prdfP9EqDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class EqDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + EqDomain( DOMAIN_ID i_did, uint32_t i_size = EQ_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9EqDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9ExDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9ExDomain.H new file mode 100644 index 000000000..ce24ce94a --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9ExDomain.H @@ -0,0 +1,62 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9ExDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9ExDomain_H +#define __prdfP9ExDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class ExDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + ExDomain( DOMAIN_ID i_did, uint32_t i_size = EX_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9ExDomain_H */ + diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9McaDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9McaDomain.H new file mode 100644 index 000000000..265d866ab --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9McaDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9McaDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9McaDomain_H +#define __prdfP9McaDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class McaDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + McaDomain( DOMAIN_ID i_did, uint32_t i_size = MCA_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9McaDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9McbistDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9McbistDomain.H new file mode 100644 index 000000000..01f4f5519 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9McbistDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9McbistDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9McbistDomain_H +#define __prdfP9McbistDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class McbistDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + McbistDomain( DOMAIN_ID i_did, uint32_t i_size = MCBIST_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9McbistDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9McsDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9McsDomain.H new file mode 100644 index 000000000..8055a7ac0 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9McsDomain.H @@ -0,0 +1,62 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9McsDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9McsDomain_H +#define __prdfP9McsDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class McsDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + McsDomain( DOMAIN_ID i_did, uint32_t i_size = MCS_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9McsDomain_H */ + diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9ObusDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9ObusDomain.H new file mode 100644 index 000000000..45d36597f --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9ObusDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9ObusDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9ObusDomain_H +#define __prdfP9ObusDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class ObusDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + ObusDomain( DOMAIN_ID i_did, uint32_t i_size = OBUS_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9ObusDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9PecDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9PecDomain.H new file mode 100644 index 000000000..6a2395241 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9PecDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9PecDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9PecDomain_H +#define __prdfP9PecDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class PecDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + PecDomain( DOMAIN_ID i_did, uint32_t i_size = PEC_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9PecDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9PhbDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9PhbDomain.H new file mode 100644 index 000000000..f178600e3 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9PhbDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9PhbDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9PhbDomain_H +#define __prdfP9PhbDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class PhbDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + PhbDomain( DOMAIN_ID i_did, uint32_t i_size = PHB_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9PhbDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9ProcDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9ProcDomain.H new file mode 100644 index 000000000..8022f563c --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9ProcDomain.H @@ -0,0 +1,51 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9ProcDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9ProcDomain_H +#define __prdfP9ProcDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class ProcDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + ProcDomain( DOMAIN_ID i_did, uint32_t i_size = PROC_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + +}; + +} // end namespace PRDF + +#endif /* __prdfP9ProcDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9XbusDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9XbusDomain.H new file mode 100644 index 000000000..9aea55af2 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9XbusDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9XbusDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __prdfP9XbusDomain_H +#define __prdfP9XbusDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class XbusDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + XbusDomain( DOMAIN_ID i_did, uint32_t i_size = XBUS_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9XbusDomain_H */ |