diff options
author | crgeddes <crgeddes@us.ibm.com> | 2016-11-04 10:47:33 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-11-14 11:43:54 -0500 |
commit | 5eeea6b14a4b2e0d1d908f238d02699e1e0e86fa (patch) | |
tree | 58cd5bf2bf7fd28534ef3fd41ced66bb537a9e72 /src/include/usr/vmmconst.h | |
parent | 79365796a27a6de1d7b55cd41201480b3dd45194 (diff) | |
download | talos-hostboot-5eeea6b14a4b2e0d1d908f238d02699e1e0e86fa.tar.gz talos-hostboot-5eeea6b14a4b2e0d1d908f238d02699e1e0e86fa.zip |
Save Attribute Data in real memory in case of MPIPL
As an initial step towards our goal of booting from previous attr
data and not re-finding out targeting/attr data from PNOR, this commit
saves the targ/attr data that we put into HDAT to a memory address
that HB owns (phyp shouldn't ever touch) so that we can use the info
on the MPIPL path. Ideally this info would be coming from RT but that
is the next step. This just proves that it can be done and outlines
how we should do it.
Change-Id: I664a8742eb35bcef011b6c274bf44e71ebf84d5d
RTC: 157652
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32259
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/vmmconst.h')
-rw-r--r-- | src/include/usr/vmmconst.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h index b155d894f..676e54f5a 100644 --- a/src/include/usr/vmmconst.h +++ b/src/include/usr/vmmconst.h @@ -202,14 +202,15 @@ enum BlockPriority #define VMM_SIZE_RMVPAGE_TEST (8 * PAGESIZE) /** Chunk of physical memory to use for HostServices Attributes */ -#define HSVC_TEST_MEMORY_ADDR (VMM_MEMORY_SIZE + 32*MEGABYTE) -#define HSVC_TEST_SYSDATA_SIZE (4*KILOBYTE) /* match FSP HDAT code */ -#define HSVC_TEST_NODEDATA_SIZE (256000) /* match FSP HDAT code */ -#define HSVC_TEST_MEMORY_SIZE \ - ALIGN_PAGE((HSVC_TEST_SYSDATA_SIZE+HSVC_TEST_NODEDATA_SIZE)) +#define MPIPL_ATTR_DATA_ADDR (VMM_MEMORY_SIZE + 32*MEGABYTE) +#define MPIPL_SYSDATA_SIZE (4*KILOBYTE) /* match FSP HDAT code */ +#define MPIPL_NODEDATA_SIZE (256000) /* match FSP HDAT code */ +#define MPIPL_ATTR_DATA_SIZE \ + ALIGN_PAGE((MPIPL_SYSDATA_SIZE+MPIPL_NODEDATA_SIZE)) +#define MPIPL_ATTR_VMM_SIZE 0x8001000 /* Chunk of physical memory used for Dump Source Table */ -#define DUMP_TEST_MEMORY_ADDR (HSVC_TEST_MEMORY_ADDR + HSVC_TEST_MEMORY_SIZE) +#define DUMP_TEST_MEMORY_ADDR (MPIPL_ATTR_DATA_ADDR + MPIPL_ATTR_DATA_SIZE) #define DUMP_TEST_MEMORY_SIZE (4*MEGABYTE) /** Location of the TCE Table */ |