TianoCore EDK2 master
Loading...
Searching...
No Matches
SystemResourceTable.h
Go to the documentation of this file.
1
13#ifndef _SYSTEM_RESOURCE_TABLE_H__
14#define _SYSTEM_RESOURCE_TABLE_H__
15
16#define EFI_SYSTEM_RESOURCE_TABLE_GUID \
17 { \
18 0xb122a263, 0x3661, 0x4f68, {0x99, 0x29, 0x78, 0xf8, 0xb0, 0xd6, 0x21, 0x80 } \
19 }
20
24#define EFI_SYSTEM_RESOURCE_TABLE_FIRMWARE_RESOURCE_VERSION 1
25
29#define ESRT_FW_TYPE_UNKNOWN 0x00000000
30#define ESRT_FW_TYPE_SYSTEMFIRMWARE 0x00000001
31#define ESRT_FW_TYPE_DEVICEFIRMWARE 0x00000002
32#define ESRT_FW_TYPE_UEFIDRIVER 0x00000003
33
37#define LAST_ATTEMPT_STATUS_SUCCESS 0x00000000
38#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL 0x00000001
39#define LAST_ATTEMPT_STATUS_ERROR_INSUFFICIENT_RESOURCES 0x00000002
40#define LAST_ATTEMPT_STATUS_ERROR_INCORRECT_VERSION 0x00000003
41#define LAST_ATTEMPT_STATUS_ERROR_INVALID_FORMAT 0x00000004
42#define LAST_ATTEMPT_STATUS_ERROR_AUTH_ERROR 0x00000005
43#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_AC 0x00000006
44#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT 0x00000007
45#define LAST_ATTEMPT_STATUS_ERROR_UNSATISFIED_DEPENDENCIES 0x00000008
46
56#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN 0x00001000
57#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX 0x00003FFF
58
59typedef struct {
69 UINT32 FwType;
75 UINT32 FwVersion;
108
109typedef struct {
127 // EFI_SYSTEM_RESOURCE_ENTRY Entries[];
129
130extern EFI_GUID gEfiSystemResourceTableGuid;
131
132#endif
Definition: Base.h:213