diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2018-09-06 12:08:09 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-07 14:49:51 +0000 |
commit | 03b99772f748c227d3d30e191fd409e363380726 (patch) | |
tree | 9072c3cb286acf31306c86ba29bc11f2b6e5df57 | |
parent | fad5395879bc7c8834587393296fa98d3c6dda95 (diff) |
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@gmail.com>
Reviewed-on: https://review.coreboot.org/28533
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/include/cper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cper.h b/src/include/cper.h index 88c7cba43b..16040417d3 100644 --- a/src/include/cper.h +++ b/src/include/cper.h @@ -216,6 +216,7 @@ enum cper_x86_check_type { 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) |