summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot/secure_reasoncodes.H
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2017-03-13 08:46:46 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-21 09:45:24 -0400
commitafd8387b9c5f1583046820aba9a632bb4acaf767 (patch)
tree032093e231cca8dd99bcc75df2cf2109c447c2f0 /src/include/usr/secureboot/secure_reasoncodes.H
parent5c40d7f2798087751e0f3c6a507107e540126b69 (diff)
downloadblackbird-hostboot-afd8387b9c5f1583046820aba9a632bb4acaf767.tar.gz
blackbird-hostboot-afd8387b9c5f1583046820aba9a632bb4acaf767.zip
Trace HwKeyHash and Add Errorlog Parser Infrastructure to Secureboot
This commit traces the HwKeyHash to Secureboot-specific error logs. It also adds the infrastucture necessary to parse secureboot-specific errorlog user data sections. It includes 2 new custom sections: one which is used in this commit, and another which will be used in a future commit. Change-Id: Id5fb115ad1214f956e5256d3641236021e4642ab RTC:165205 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37901 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot/secure_reasoncodes.H')
-rw-r--r--src/include/usr/secureboot/secure_reasoncodes.H12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/secure_reasoncodes.H b/src/include/usr/secureboot/secure_reasoncodes.H
index 1609e1a5f..1e7cb797f 100644
--- a/src/include/usr/secureboot/secure_reasoncodes.H
+++ b/src/include/usr/secureboot/secure_reasoncodes.H
@@ -55,6 +55,18 @@ namespace SECUREBOOT
// Reason codes 0xA0 - 0xEF reserved for trustedboot_reasoncodes.H
};
+
+ enum UserDetailsTypes
+ {
+ // Version(s)
+ SECURE_UDT_VERSION_1 = 0x1,
+
+ // Formats/User Detail Sections
+ SECURE_UDT_NO_FORMAT = 0x0,
+ SECURE_UDT_SYSTEM_HW_KEY_HASH = 0x1,
+ SECURE_UDT_TARGET_HW_KEY_HASH = 0x2,
+ };
+
}
#endif
OpenPOWER on IntegriCloud