TianoCore EDK2 master
Loading...
Searching...
No Matches
EventLogInfo.h
Go to the documentation of this file.
1
9#ifndef _SMBIOS_EVENT_LOG_INFO_H_
10#define _SMBIOS_EVENT_LOG_INFO_H_
11
12#define END_OF_LOG 0xFF
13
14#pragma pack(1)
15
16typedef struct {
17 UINT8 Type;
18 UINT8 Length;
19 UINT8 Year;
20 UINT8 Month;
21 UINT8 Day;
22 UINT8 Hour;
23 UINT8 Minute;
24 UINT8 Second;
25 UINT8 LogVariableData[1];
27
28typedef struct {
29 UINT8 OEMReserved[5];
30 UINT8 Metw; // Multiple Event Time Window
31 UINT8 Meci; // Multiple Event Count Increment
32 UINT8 CMOSAddress; // Pre-boot Event Log Reset - CMOS Address
33 UINT8 CMOSBitIndex; // Pre-boot Event Log Reset - CMOS Bit Index
34 UINT8 StartingOffset; // CMOS Checksum - Starting Offset
35 UINT8 ByteCount; // CMOS Checksum - Byte Count
36 UINT8 ChecksumOffset; // CMOS Checksum - Checksum Offset
37 UINT8 Reserved[3];
38 UINT8 HeaderRevision;
40
41#pragma pack()
42//
43// System Event Log (Type 15)
44//
45
52VOID
54 IN CONST UINT8 Key,
55 IN CONST UINT8 Option
56 );
57
64VOID
66 UINT8 Key,
67 UINT8 Option
68 );
69
76VOID
78 UINT8 Key,
79 UINT8 Option
80 );
81
88VOID
90 UINT8 LogHeaderFormat,
91 UINT8 *LogHeader
92 );
93
100VOID
102 UINT8 *LogData,
103 UINT16 LogAreaLength
104 );
105
106#endif
VOID DisplaySysEventLogHeader(UINT8 LogHeaderFormat, UINT8 *LogHeader)
Definition: EventLogInfo.c:220
VOID DisplaySysEventLogData(UINT8 *LogData, UINT16 LogAreaLength)
Definition: EventLogInfo.c:333
VOID DisplaySysEventLogHeaderFormat(UINT8 Key, UINT8 Option)
Definition: EventLogInfo.c:110
VOID DisplaySELAccessMethod(IN CONST UINT8 Key, IN CONST UINT8 Option)
Definition: EventLogInfo.c:21
VOID DisplaySELLogStatus(UINT8 Key, UINT8 Option)
Definition: EventLogInfo.c:72
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279