summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vmmconst.h
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2016-10-17 12:15:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-11-14 17:17:33 -0500
commit16263a641c48773091dd60b55e28ad77ca5a8574 (patch)
tree97120f76deb4132a1a1b7ceba8701318c5663a68 /src/include/usr/vmmconst.h
parenta904e156364a8f0fd5f6bc2b7094f79cf77da1b2 (diff)
downloadtalos-hostboot-16263a641c48773091dd60b55e28ad77ca5a8574.tar.gz
talos-hostboot-16263a641c48773091dd60b55e28ad77ca5a8574.zip
Secure PNOR Resource Provider port from p8
Adds a Secure PNOR Resource Provider (SPNORRP) layer on top of the original PNORRP to handle verification of secured PNOR sections. Change-Id: Iff25abf599f3c850197c6e6d23ff03e5edf945bb RTC:163078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31588 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h
index 676e54f5a..1c91ae326 100644
--- a/src/include/usr/vmmconst.h
+++ b/src/include/usr/vmmconst.h
@@ -87,6 +87,17 @@
/** PNOR Resource Provider is at 2GB */
#define VMM_VADDR_PNOR_RP (2 * GIGABYTE)
+/** Temp PNOR Resource Provider space is at 5GB */
+#define VMM_VADDR_SPNOR_TEMP (5 * GIGABYTE)
+
+/** The delta between PNOR RP and temp space and
+ * the delta between temp space and Secure PNOR RP space is 3GB
+ */
+#define VMM_VADDR_SPNOR_DELTA (VMM_VADDR_SPNOR_TEMP - VMM_VADDR_PNOR_RP)
+
+/** Secure PNOR Resource Provider is at 8GB */
+#define VMM_VADDR_SPNOR_RP (VMM_VADDR_SPNOR_TEMP + VMM_VADDR_SPNOR_DELTA)
+
/** SBE Update process is at 3GB, uses 512KB */
#define VMM_VADDR_SBE_UPDATE (3 * GIGABYTE)
#define VMM_SBE_UPDATE_SIZE (512 * KILOBYTE)
@@ -104,9 +115,10 @@
/** Virtual memory block priorities */
enum BlockPriority
{
- PNOR_PRIORITY = 0, //No dependencies
- VFS_PRIORITY = (PNOR_PRIORITY + 1), //Dependent on PNOR
- ATTR_PRIORITY = (PNOR_PRIORITY + 1), //Dependent on PNOR
+ PNOR_PRIORITY = 0, //No dependencies
+ SPNOR_PRIORITY = (PNOR_PRIORITY + 1), //Dependent on PNOR
+ VFS_PRIORITY = (SPNOR_PRIORITY + 1), //Dependent on PNOR and SPNOR
+ ATTR_PRIORITY = (SPNOR_PRIORITY + 1), //Dependent on PNOR and SPNOR
};
/**
OpenPOWER on IntegriCloud