diff options
author | Yue Du <daviddu@us.ibm.com> | 2016-10-13 09:13:42 -0500 |
---|---|---|
committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 16:47:25 -0500 |
commit | 7864947bcf67e4c8103c4b5e89e020bdd9d3c261 (patch) | |
tree | b9f8b5778a7e1d163fe0739781a66e484ce8dfa9 /import/chips/p9/common | |
parent | 7fa13a2669aecd877745860b7b1d3787d30f22b5 (diff) | |
download | talos-hcode-7864947bcf67e4c8103c4b5e89e020bdd9d3c261.tar.gz talos-hcode-7864947bcf67e4c8103c4b5e89e020bdd9d3c261.zip |
HB: fix HB core boot resulting cme boot
Change-Id: I18f7c24dc84536126a90a251ae770b0498b5d3d0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31138
Dev-Ready: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/common')
-rw-r--r-- | import/chips/p9/common/pmlib/include/ppehw_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/import/chips/p9/common/pmlib/include/ppehw_common.h b/import/chips/p9/common/pmlib/include/ppehw_common.h index df802bde..7d065026 100644 --- a/import/chips/p9/common/pmlib/include/ppehw_common.h +++ b/import/chips/p9/common/pmlib/include/ppehw_common.h @@ -41,8 +41,8 @@ /// Create a multi-bit mask of \a n bits starting at bit \a b #define BITS64(b, n) ((0xffffffffffffffffull << (64 - (n))) >> (b)) #define BITS32(b, n) ((0xffffffff << (32 - (n))) >> (b)) -#define BITS16(b, n) ((0xffff << (16 - (n))) >> (b)) -#define BITS8(b, n) ((0xff << (8 - (n))) >> (b)) +#define BITS16(b, n) (((0xffff << (16 - (n))) & 0xffff) >> (b)) +#define BITS8(b, n) (((0xff << (8 - (n))) & 0xff) >> (b)) /// Create a single bit mask at bit \a b #define BIT64(b) BITS64((b), 1) |