summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2016-09-07 15:20:39 -0500
committerMatthew A. Ploetz <maploetz@us.ibm.com>2016-09-08 16:55:05 -0400
commitcedf3f31af1d2cc14e47ae80d2ce7bbbab580b9a (patch)
tree747bcd1364cb75cb23048b60732081a7705e580d /src/usr/htmgt
parentd9eca6fefeb53390e44a5aba6bf6e663c74e6953 (diff)
downloadtalos-hostboot-cedf3f31af1d2cc14e47ae80d2ce7bbbab580b9a.tar.gz
talos-hostboot-cedf3f31af1d2cc14e47ae80d2ce7bbbab580b9a.zip
Use 2 byte mod ID for OCC errls
Change-Id: Ief6dcbadfb12ead896350bcc8a68c85cdfda21d1 RTC:148702 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29342 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt')
-rw-r--r--src/usr/htmgt/occError.C4
-rw-r--r--src/usr/htmgt/occError.H6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/htmgt/occError.C b/src/usr/htmgt/occError.C
index c07dd0be6..5dc733d99 100644
--- a/src/usr/htmgt/occError.C
+++ b/src/usr/htmgt/occError.C
@@ -150,8 +150,8 @@ namespace HTMGT
l_usrDtls_ptr->userData1,
l_usrDtls_ptr->userData2,
l_usrDtls_ptr->userData3,
- ((l_usrDtls_ptr->modId & 0xFF00) << 16 ) |
- l_occElog->reserved, // extended reason code
+ (l_usrDtls_ptr->modId << 16 ) |
+ l_occElog->extendedRC, // extended reason code
severity);
// Add callout information
diff --git a/src/usr/htmgt/occError.H b/src/usr/htmgt/occError.H
index e4ab7f906..0345d582d 100644
--- a/src/usr/htmgt/occError.H
+++ b/src/usr/htmgt/occError.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* Contributors Listed Below - COPYRIGHT 2014,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -142,7 +142,9 @@ namespace HTMGT
// Actions to process the errors
uint8_t actions;
// Reserved
- uint32_t reserved;
+ uint16_t reserved;
+ // Extended Reason Code
+ uint16_t extendedRC;
// Log Callout Number
uint8_t maxCallouts;
// Callouts
OpenPOWER on IntegriCloud