MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SystemResourceTable.h File Reference

Data Structures

struct  EFI_SYSTEM_RESOURCE_ENTRY
 
struct  EFI_SYSTEM_RESOURCE_TABLE
 

Macros

#define EFI_SYSTEM_RESOURCE_TABLE_GUID
 
#define EFI_SYSTEM_RESOURCE_TABLE_FIRMWARE_RESOURCE_VERSION   1
 
#define ESRT_FW_TYPE_UNKNOWN   0x00000000
 
#define ESRT_FW_TYPE_SYSTEMFIRMWARE   0x00000001
 
#define ESRT_FW_TYPE_DEVICEFIRMWARE   0x00000002
 
#define ESRT_FW_TYPE_UEFIDRIVER   0x00000003
 
#define LAST_ATTEMPT_STATUS_SUCCESS   0x00000000
 
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL   0x00000001
 
#define LAST_ATTEMPT_STATUS_ERROR_INSUFFICIENT_RESOURCES   0x00000002
 
#define LAST_ATTEMPT_STATUS_ERROR_INCORRECT_VERSION   0x00000003
 
#define LAST_ATTEMPT_STATUS_ERROR_INVALID_FORMAT   0x00000004
 
#define LAST_ATTEMPT_STATUS_ERROR_AUTH_ERROR   0x00000005
 
#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_AC   0x00000006
 
#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT   0x00000007
 
#define LAST_ATTEMPT_STATUS_ERROR_UNSATISFIED_DEPENDENCIES   0x00000008
 
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN   0x00001000
 
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX   0x00003FFF
 

Variables

EFI_GUID gEfiSystemResourceTableGuid
 

Detailed Description

Guid & data structure used for EFI System Resource Table (ESRT)

Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:
GUIDs defined in UEFI 2.5 spec.

Macro Definition Documentation

#define EFI_SYSTEM_RESOURCE_TABLE_FIRMWARE_RESOURCE_VERSION   1

Current Entry Version

#define EFI_SYSTEM_RESOURCE_TABLE_GUID
Value:
{ \
0xb122a263, 0x3661, 0x4f68, {0x99, 0x29, 0x78, 0xf8, 0xb0, 0xd6, 0x21, 0x80 } \
}
#define ESRT_FW_TYPE_DEVICEFIRMWARE   0x00000002
#define ESRT_FW_TYPE_SYSTEMFIRMWARE   0x00000001
#define ESRT_FW_TYPE_UEFIDRIVER   0x00000003
#define ESRT_FW_TYPE_UNKNOWN   0x00000000

Firmware Type Definitions

#define LAST_ATTEMPT_STATUS_ERROR_AUTH_ERROR   0x00000005
#define LAST_ATTEMPT_STATUS_ERROR_INCORRECT_VERSION   0x00000003
#define LAST_ATTEMPT_STATUS_ERROR_INSUFFICIENT_RESOURCES   0x00000002
#define LAST_ATTEMPT_STATUS_ERROR_INVALID_FORMAT   0x00000004
#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_AC   0x00000006
#define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT   0x00000007
#define LAST_ATTEMPT_STATUS_ERROR_UNSATISFIED_DEPENDENCIES   0x00000008
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL   0x00000001
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX   0x00003FFF
#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN   0x00001000

LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX is defined as 0x4000 as of UEFI Specification 2.8B. This will be modified in the future to the correct value 0x3FFF. To ensure correct implementation, this change is preemptively made in the value defined below.

When the UEFI Specification is updated, this comment block can be removed.

#define LAST_ATTEMPT_STATUS_SUCCESS   0x00000000

Last Attempt Status Values

Variable Documentation

EFI_GUID gEfiSystemResourceTableGuid