summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-12-11 09:47:55 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-12 12:12:11 -0500
commita9addc3db4f8940ca38fb63c99fcab26126c88f0 (patch)
tree081e8545ba2b6585342c73dd6101fef562765fae /src/include/usr/secureboot
parent75c14bbdbc1f8706d8dccab7d273cc3fd581717f (diff)
downloadtalos-hostboot-a9addc3db4f8940ca38fb63c99fcab26126c88f0.tar.gz
talos-hostboot-a9addc3db4f8940ca38fb63c99fcab26126c88f0.zip
SMF: Logic For Creating Non-Secure HOMER Memory Space
For SMF to be enabled, HOMER requires a small amount of non-SMF (unsecure) memory where the "jump to Ultravisor" instruction can be put (to transition to UV mode). This commit sets up a region of non-secure memory space for that purpose. Change-Id: Ib91ec69f49a4e174e65f3c2aad337a68eaa0803b RTC: 205986 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70699 Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot')
-rw-r--r--src/include/usr/secureboot/smf.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/smf.H b/src/include/usr/secureboot/smf.H
index 990bce09b..e062e56c9 100644
--- a/src/include/usr/secureboot/smf.H
+++ b/src/include/usr/secureboot/smf.H
@@ -27,6 +27,10 @@
#include <errl/errlentry.H>
#include <stdint.h>
+#include <limits.h>
+
+// The maximum size of the unsecure HOMER region in reserved memory
+#define MAX_UNSECURE_HOMER_SIZE (1 * PAGESIZE)
namespace SMF_TRACE
{
OpenPOWER on IntegriCloud