From cd1d9e3aa3aca78d6b9d3bfce3f944a7be3918d0 Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Mon, 21 Aug 2017 16:54:52 -0500 Subject: Add HDAT Permissions type to Hostboot Reserved Memory Sections Additionally pre-verified images are now marked read only Change-Id: Ieba7a4d3e787d155bb3217d52fd9f7cd6ea3dae2 RTC:178470 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44936 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/hdat/hdat.H | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/usr/hdat') diff --git a/src/include/usr/hdat/hdat.H b/src/include/usr/hdat/hdat.H index bdbc7dbe7..2b4c35daa 100755 --- a/src/include/usr/hdat/hdat.H +++ b/src/include/usr/hdat/hdat.H @@ -227,6 +227,16 @@ enum hdatMsVpdRhbAddrRangeType : uint8_t RHB_TYPE_INVALID = 0xFF }; +/** @enum Permission Types for Reserved Hostboot Memory (RHB) + */ +enum hdatRhbPermType : uint8_t +{ + RHB_NONE = 0x00, + RHB_WRITE_ONLY = 0x80, + RHB_READ_ONLY = 0x40, + RHB_READ_WRITE = RHB_READ_ONLY | RHB_WRITE_ONLY, +}; + /* vpd constants * Defining vpd constants */ -- cgit v1.2.3