Update status code data structures according errata.

Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14609 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Shumin Qiu 2013-08-29 05:37:52 +00:00 committed by shenshushi
parent ed34da4007
commit 6ce5535709

View File

@ -1,7 +1,7 @@
/** @file /** @file
GUID used to identify id for the caller who is initiating the Status Code. GUID used to identify id for the caller who is initiating the Status Code.
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -148,12 +148,12 @@ typedef struct {
/// ///
EFI_STATUS_CODE_DATA DataHeader; EFI_STATUS_CODE_DATA DataHeader;
/// ///
/// The device path to the controller or the hardware device. Note that this parameter is a /// The device path to the controller or the hardware device. Note that this parameter is a
/// variable-length device path structure and not a pointer to such a structure. This /// variable-length device path structure and not a pointer to such a structure. This structure is
/// structure is populated only if it is a physical device. For virtual devices, the Size /// populated only if it is a physical device. For virtual devices, the Size field in DataHeader
/// field in DataHeader is set to zero and this field is not populated. /// is set to zero and this field is not populated.
/// ///
UINT8 *DevicePath; // EFI_DEVICE_PATH_PROTOCOL DevicePath;
} EFI_DEVICE_PATH_EXTENDED_DATA; } EFI_DEVICE_PATH_EXTENDED_DATA;
/// ///
@ -223,21 +223,21 @@ typedef struct {
/// ///
UINT16 AllocResSize; UINT16 AllocResSize;
/// ///
/// The device path to the controller or the hardware device that did not get the requested /// The device path to the controller or the hardware device that did not get the requested
/// resources. Note that this parameter is the variable-length device path structure and not /// resources. Note that this parameter is the variable-length device path structure and not
/// a pointer to this structure. /// a pointer to this structure.
/// ///
UINT8 *DevicePath; // EFI_DEVICE_PATH_PROTOCOL DevicePath;
/// ///
/// The requested resources in the format of an ACPI 2.0 resource descriptor. This /// The requested resources in the format of an ACPI 2.0 resource descriptor. This
/// parameter is not a pointer; it is the complete resource descriptor. /// parameter is not a pointer; it is the complete resource descriptor.
/// ///
UINT8 *ReqRes; // UINT8 ReqRes[…];
/// ///
/// The allocated resources in the format of an ACPI 2.0 resource descriptor. This /// The allocated resources in the format of an ACPI 2.0 resource descriptor. This
/// parameter is not a pointer; it is the complete resource descriptor. /// parameter is not a pointer; it is the complete resource descriptor.
/// ///
UINT8 *AllocRes; // UINT8 AllocRes[…];
} EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA; } EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA;
/// ///
@ -752,11 +752,11 @@ typedef struct {
/// ///
UINT16 DevicePathSize; UINT16 DevicePathSize;
/// ///
/// Matches the RemainingDevicePath parameter being passed to the Start() /// Matches the RemainingDevicePath parameter being passed to the Start() function.
/// function. Note that this parameter is the variable-length device path and not a pointer /// Note that this parameter is the variable-length device path and not a pointer
/// to the device path. /// to the device path.
/// ///
UINT8 *RemainingDevicePath; // EFI_DEVICE_PATH_PROTOCOL RemainingDevicePath;
} EFI_STATUS_CODE_START_EXTENDED_DATA; } EFI_STATUS_CODE_START_EXTENDED_DATA;
/// ///