summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/hwp/procMemConsts.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwpf/hwp/procMemConsts.H')
-rw-r--r--src/include/usr/hwpf/hwp/procMemConsts.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/hwp/procMemConsts.H b/src/include/usr/hwpf/hwp/procMemConsts.H
index 9a1282b04..9aab51ef0 100644
--- a/src/include/usr/hwpf/hwp/procMemConsts.H
+++ b/src/include/usr/hwpf/hwp/procMemConsts.H
@@ -58,6 +58,14 @@ const uint64_t PCIE_BAR0_SIZE = 0x0000001000000000ULL;
const uint64_t PCIE_BAR1_SIZE = 0x0000000080000000ULL;
const uint64_t PCIE_BAR2_SIZE = 0x0000000000001000ULL;
+// 4 PHB per chip, 4chips per node, max 4 nodes
+const uint64_t PCIE_BAR0_OFFSET_MASK = ((PCIE_BAR0_SIZE*4*4*4)-1);
+const uint64_t PCIE_BAR1_OFFSET_MASK = ((PCIE_BAR1_SIZE*4*4*4)-1);
+const uint64_t SAPPHIRE_PCIE_BAR0_BASE = 0x00003B0000000000;
+const uint64_t SAPPHIRE_PCIE_BAR1_BASE = 0x00003FE000000000;
+
+
+
// PHB Register Address Space - line 90 Overall Map
// size is 1_MB
const uint64_t PHB_REGS_SIZE = 0x0000000000100000ULL;
OpenPOWER on IntegriCloud