mirror of https://github.com/acidanthera/audk.git
Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2987 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
531febc2e4
commit
b67d6130b2
|
@ -24,7 +24,7 @@ Abstract:
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
UpdateCapsule (
|
UpdateCapsule (
|
||||||
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
||||||
IN UINTN CapsuleCount,
|
IN UINTN CapsuleCount,
|
||||||
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
|
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
|
||||||
)
|
)
|
||||||
|
@ -56,7 +56,7 @@ Returns:
|
||||||
VOID *BufferPtr;
|
VOID *BufferPtr;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_HANDLE FvHandle;
|
EFI_HANDLE FvHandle;
|
||||||
UEFI_CAPSULE_HEADER *CapsuleHeader;
|
EFI_CAPSULE_HEADER *CapsuleHeader;
|
||||||
|
|
||||||
if (CapsuleCount < 1) {
|
if (CapsuleCount < 1) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
|
@ -152,7 +152,7 @@ Returns:
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
QueryCapsuleCapabilities (
|
QueryCapsuleCapabilities (
|
||||||
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
||||||
IN UINTN CapsuleCount,
|
IN UINTN CapsuleCount,
|
||||||
OUT UINT64 *MaxiumCapsuleSize,
|
OUT UINT64 *MaxiumCapsuleSize,
|
||||||
OUT EFI_RESET_TYPE *ResetType
|
OUT EFI_RESET_TYPE *ResetType
|
||||||
|
@ -181,7 +181,7 @@ Returns:
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
UINTN ArrayNumber;
|
UINTN ArrayNumber;
|
||||||
UEFI_CAPSULE_HEADER *CapsuleHeader;
|
EFI_CAPSULE_HEADER *CapsuleHeader;
|
||||||
|
|
||||||
if (CapsuleCount < 1) {
|
if (CapsuleCount < 1) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
|
|
|
@ -408,9 +408,9 @@ EfiSetVirtualAddressMap (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
EfiUpdateCapsule (
|
EfiUpdateCapsule (
|
||||||
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
||||||
IN UINTN CapsuleCount,
|
IN UINTN CapsuleCount,
|
||||||
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
|
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return mRT->UpdateCapsule (
|
return mRT->UpdateCapsule (
|
||||||
|
@ -423,10 +423,10 @@ EfiUpdateCapsule (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
EfiQueryCapsuleCapabilities (
|
EfiQueryCapsuleCapabilities (
|
||||||
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
|
||||||
IN UINTN CapsuleCount,
|
IN UINTN CapsuleCount,
|
||||||
OUT UINT64 *MaximumCapsuleSize,
|
OUT UINT64 *MaximumCapsuleSize,
|
||||||
OUT EFI_RESET_TYPE *ResetType
|
OUT EFI_RESET_TYPE *ResetType
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return mRT->QueryCapsuleCapabilities (
|
return mRT->QueryCapsuleCapabilities (
|
||||||
|
@ -441,10 +441,10 @@ EfiQueryCapsuleCapabilities (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
EfiQueryVariableInfo (
|
EfiQueryVariableInfo (
|
||||||
IN UINT32 Attributes,
|
IN UINT32 Attributes,
|
||||||
OUT UINT64 *MaximumVariableStorageSize,
|
OUT UINT64 *MaximumVariableStorageSize,
|
||||||
OUT UINT64 *RemainingVariableStorageSize,
|
OUT UINT64 *RemainingVariableStorageSize,
|
||||||
OUT UINT64 *MaximumVariableSize
|
OUT UINT64 *MaximumVariableSize
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return mRT->QueryVariableInfo (
|
return mRT->QueryVariableInfo (
|
||||||
|
|
Loading…
Reference in New Issue