[coreboot-gerrit] Change in coreboot[master]: include/cper.h: Add max of enum

Martin Roth (Code Review) gerrit at coreboot.org
Fri Sep 7 16:49:55 CEST 2018


Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/28533 )

Change subject: include/cper.h: Add max of enum
......................................................................

include/cper.h: Add max of enum

Define the maximum value of the cper_x86_check_type enum, for use later
in determining a legal function argument.

Change-Id: I73df4c6daa5d232c2d38b0896442b5bcab5aa15f
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
Reviewed-on: https://review.coreboot.org/28533
Reviewed-by: Martin Roth <martinroth at google.com>
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
---
M src/include/cper.h
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Martin Roth: Looks good to me, approved



diff --git a/src/include/cper.h b/src/include/cper.h
index 88c7cba..1604041 100644
--- a/src/include/cper.h
+++ b/src/include/cper.h
@@ -216,6 +216,7 @@
 	X86_PROCESSOR_BUS_CHK,		/* X86_PROCESSOR_BUS_CHK_ERROR_GUID */
 	X86_PROCESSOR_MS_CHK		/* X86_PROCESSOR_MS_CHK_ERROR_GUID */
 };
+#define X86_PROCESSOR_CHK_MAX X86_PROCESSOR_MS_CHK
 
 /* IA32/X64 Processor Error Information Structure, Validation Bits (Tbl 256) */
 #define I32X64ERRINFO_VALID_CHECK		BIT(0)

-- 
To view, visit https://review.coreboot.org/28533
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I73df4c6daa5d232c2d38b0896442b5bcab5aa15f
Gerrit-Change-Number: 28533
Gerrit-PatchSet: 2
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180907/187afe96/attachment.html>


More information about the coreboot-gerrit mailing list