diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2012-09-01 14:00:23 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-08 19:39:32 +0100 |
commit | 5c88c6f2d797b7fbcbf844a79356fcc833eb5338 (patch) | |
tree | 04c12ec91fdc7fe383f242dd9e785b7b6f5477e4 /src/include/elog.h | |
parent | 3beb6db6dda7795639d2bb8ec1a1aa3106a4c301 (diff) | |
download | coreboot-5c88c6f2d797b7fbcbf844a79356fcc833eb5338.tar.xz |
elog: add extended management engine event
We are seeing ME disabled and ME error events on some devices
and this extended info can help with debug.
Also fix a potential issue where if the log does manage to get
completely full it will never try to shrink it because the only
call to shrink the log happens after a successful event write.
Add a check at elog init time to shrink the log size.
Change-Id: Ib81dc231f6a004b341900374e6c07962cc292031
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1739
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/elog.h')
-rw-r--r-- | src/include/elog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h index 52a74edcae..fa9a05ca7c 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -108,6 +108,16 @@ struct elog_event_data_wake { /* Management Engine Events */ #define ELOG_TYPE_MANAGEMENT_ENGINE 0xa2 +#define ELOG_TYPE_MANAGEMENT_ENGINE_EXT 0xa4 +struct elog_event_data_me_extended { + u8 current_working_state; + u8 operation_state; + u8 operation_mode; + u8 error_code; + u8 progress_code; + u8 current_pmevent; + u8 current_state; +} __attribute__ ((packed)); /* Last post code from previous boot */ #define ELOG_TYPE_LAST_POST_CODE 0xa3 |