MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA Struct Reference

Data Fields

EFI_STATUS_CODE_DATA DataHeader
 
UINT32 Bar
 
UINT16 DevicePathSize
 
UINT16 ReqResSize
 
UINT16 AllocResSize
 

Detailed Description

This structure defines extended data describing a PCI resource allocation error.

Note:
The following structure contains variable-length fields and cannot be defined as a C-style structure.

This extended data conveys details for a PCI resource allocation failure error. See the PCI specification and the ACPI specification for details on PCI resource allocations and the format for resource descriptors. This error does not detail why the resource allocation failed. It may be due to a bad resource request or a lack of available resources to satisfy a valid request. The variable device path structure and the resource structures are included in this structure to make it self sufficient.

Field Documentation

UINT16 EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA::AllocResSize

Represents the size the AllocRes parameter. AllocResSize should be zero if the allocated resources are not provided as a part of extended data.

UINT32 EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA::Bar

The PCI BAR. Applicable only for PCI devices. Ignored for all other devices.

EFI_STATUS_CODE_DATA EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA::DataHeader

The data header identifying the data. DataHeader.HeaderSize should be sizeof (EFI_STATUS_CODE_DATA), DataHeader.Size should be (DevicePathSize + DevicePathSize + DevicePathSize + sizeof(UINT32) + 3 * sizeof (UINT16) ), and DataHeader.Type should be EFI_STATUS_CODE_SPECIFIC_DATA_GUID.

UINT16 EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA::DevicePathSize

DevicePathSize should be zero if it is a virtual device that is not associated with a device path. Otherwise, this parameter is the length of the variable-length DevicePath.

UINT16 EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA::ReqResSize

Represents the size the ReqRes parameter. ReqResSize should be zero if the requested resources are not provided as a part of extended data.