EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h

Go to the documentation of this file.
00001 
00014 #ifndef _ALERT_STANDARD_FORMAT_TABLE_H_
00015 #define _ALERT_STANDARD_FORMAT_TABLE_H_
00016 
00017 #include <IndustryStandard/Acpi.h>
00018 
00019 //
00020 // Ensure proper structure formats
00021 //
00022 #pragma pack (1)
00023 
00027 typedef struct {
00028   UINT8                                Type;
00029   UINT8                                Reserved;
00030   UINT16                               RecordLength;
00031 } EFI_ACPI_ASF_RECORD_HEADER;
00032 
00037 typedef struct {
00038   EFI_ACPI_ASF_RECORD_HEADER           RecordHeader;
00039   UINT8                                MinWatchDogResetValue;
00040   UINT8                                MinPollingInterval;
00041   UINT16                               SystemID;
00042   UINT32                               IANAManufactureID;
00043   UINT8                                FeatureFlags;
00044   UINT8                                Reserved[3];
00045 } EFI_ACPI_ASF_INFO;
00046 
00050 typedef struct {
00051   UINT8                                DeviceAddress;
00052   UINT8                                Command;
00053   UINT8                                DataMask;
00054   UINT8                                CompareValue;
00055   UINT8                                EventSenseType;
00056   UINT8                                EventType;
00057   UINT8                                EventOffset;
00058   UINT8                                EventSourceType;
00059   UINT8                                EventSeverity;
00060   UINT8                                SensorNumber;
00061   UINT8                                Entity;
00062   UINT8                                EntityInstance;
00063 } EFI_ACPI_ASF_ALERTDATA;
00064 
00068 typedef struct {
00069   EFI_ACPI_ASF_RECORD_HEADER           RecordHeader;
00070   UINT8                                AssertionEventBitMask;
00071   UINT8                                DeassertionEventBitMask;
00072   UINT8                                NumberOfAlerts;
00073   UINT8                                ArrayElementLength; 
00074 
00075 
00076 
00077 } EFI_ACPI_ASF_ALRT;
00078 
00082 typedef struct {
00083   UINT8                                Function;
00084   UINT8                                DeviceAddress;
00085   UINT8                                Command;
00086   UINT8                                DataValue;
00087 } EFI_ACPI_ASF_CONTROLDATA;       
00088 
00092 typedef struct {
00093   EFI_ACPI_ASF_RECORD_HEADER           RecordHeader;
00094   UINT8                                NumberOfControls;
00095   UINT8                                ArrayElementLength; 
00096   UINT16                               RctlReserved;
00100 } EFI_ACPI_ASF_RCTL;
00101 
00102 
00106 typedef struct {
00107   EFI_ACPI_ASF_RECORD_HEADER           RecordHeader;
00108   UINT8                                RemoteControlCapabilities[7];
00109   UINT8                                RMCPCompletionCode;
00110   UINT32                               RMCPIANA;
00111   UINT8                                RMCPSpecialCommand;
00112   UINT8                                RMCPSpecialCommandParameter[2];
00113   UINT8                                RMCPBootOptions[2];
00114   UINT8                                RMCPOEMParameters[2];
00115 } EFI_ACPI_ASF_RMCP;
00116 
00120 typedef struct {
00121   EFI_ACPI_ASF_RECORD_HEADER           RecordHeader;
00122   UINT8                                SEEPROMAddress;
00123   UINT8                                NumberOfDevices;
00127 } EFI_ACPI_ASF_ADDR;
00128 
00132 typedef EFI_ACPI_DESCRIPTION_HEADER EFI_ACPI_ASF_DESCRIPTION_HEADER;
00133 
00137 #define EFI_ACPI_2_0_ASF_DESCRIPTION_TABLE_REVISION   0x20
00138 
00142 #define EFI_ACPI_ASF_DESCRIPTION_TABLE_SIGNATURE  SIGNATURE_32 ('A', 'S', 'F', '!')
00143 
00144 #pragma pack ()
00145 
00146 #endif // _ALERT_STANDARD_FORMAT_TABLE_H
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines