blob: 9a1282b04d26ed8efb44795b37f16df9b6ac22ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/hwpf/hwp/procMemConsts.H $ */
/* */
/* IBM CONFIDENTIAL */
/* */
/* COPYRIGHT International Business Machines Corp. 2012,2014 */
/* */
/* p1 */
/* */
/* Object Code Only (OCO) source materials */
/* Licensed Internal Code Source Materials */
/* IBM HostBoot Licensed Internal Code */
/* */
/* The source code for this program is not published or otherwise */
/* divested of its trade secrets, irrespective of what has been */
/* deposited with the U.S. Copyright Office. */
/* */
/* Origin: 30 */
/* */
/* IBM_PROLOG_END_TAG */
/**
* @file procMemConsts.H
*
* @brief Constants to implement support for proc_setup_bars and mss_setup_bars
* Taken from Shawn Lambeth's MMIOMap8.1.0 spreadsheet
*/
#ifndef _HWP_PROCMEMCONSTS_H_
#define _HWP_PROCMEMCONSTS_H_
// Lower FSP Bar Regions - line 226 Overall Map, line 72 service processor
// size is 4_GB
const uint64_t SP_BAR_SIZE = 0x0000000100000000ULL ;
// FSP Bar Size, line 227 Overall Map
const uint64_t FSP_BAR_SIZE = 0x0000000100000000ULL ;
// Fsp MMIO Mask Size
// @todo P7 had this at 4_GB, don't see it in the spreadsheet.
const uint64_t FSP_MMIO_MASK_SIZE = 0x0000000100000000 ;
// Processor RNG Space, for NX_MMIO - line 46 Overall Map
// size is 4_KB
const uint64_t PROC_RNG_SIZE = 0x0000000000001000ULL;
// PCIE Mem Address Space - line 236 Overall Map
// corresponds to the "unit number" in ATTR description
// size is 64_GB
const uint64_t PCI_MEM_SIZE = 0x0000001000000000ULL;
// PCIE BAR size values
// Bar0 = 64_GB ( from spreadsheet)
// Bar1 = 2_GB ( from spreadsheet)
// Bar2 = 4_KB see NOTE above
const uint64_t PCIE_BAR0_SIZE = 0x0000001000000000ULL;
const uint64_t PCIE_BAR1_SIZE = 0x0000000080000000ULL;
const uint64_t PCIE_BAR2_SIZE = 0x0000000000001000ULL;
// PHB Register Address Space - line 90 Overall Map
// size is 1_MB
const uint64_t PHB_REGS_SIZE = 0x0000000000100000ULL;
#endif
|