From f620c8894dd769c04b8533b0a7184bb11ea87ff9 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 22 Sep 2009 01:35:39 +0000 Subject: Update definition aligned to UEFI2.3 1. TapeIo TAPE_HEADER is rename to EFI_TAPE_HEADER 2. Add IN modifier for parameter Direction and Type of TapeIo.TapeSpace 3. HII package header EFI_HII_DEVICE_PATH_PACKAGE is renamed to EFI_HII_DEVICE_PATH_PACKAGE_HDR. 4. HII package header EFI_HII_FORM_PACKAGE is renamed to EFI_HII_FORM_PACKAGE_HDR. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9297 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/HiiDatabase.h | 2 +- MdePkg/Include/Protocol/LoadFile.h | 2 +- MdePkg/Include/Protocol/TapeIo.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'MdePkg/Include/Protocol') diff --git a/MdePkg/Include/Protocol/HiiDatabase.h b/MdePkg/Include/Protocol/HiiDatabase.h index 45012717fc..d3ae1ad032 100644 --- a/MdePkg/Include/Protocol/HiiDatabase.h +++ b/MdePkg/Include/Protocol/HiiDatabase.h @@ -433,7 +433,7 @@ EFI_STATUS (EFIAPI *EFI_HII_GET_KEYBOARD_LAYOUT)( IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN CONST EFI_GUID *KeyGuid, - IN OUT UINT16 *KeyboardLayoutLength, + IN OUT UINT16 *KeyboardLayoutLength, OUT EFI_HII_KEYBOARD_LAYOUT *KeyboardLayout ); diff --git a/MdePkg/Include/Protocol/LoadFile.h b/MdePkg/Include/Protocol/LoadFile.h index 1f057550b5..3ebfcb2b01 100644 --- a/MdePkg/Include/Protocol/LoadFile.h +++ b/MdePkg/Include/Protocol/LoadFile.h @@ -52,7 +52,7 @@ typedef EFI_LOAD_FILE_PROTOCOL EFI_LOAD_FILE_INTERFACE; Buffer. On output with a return code of EFI_BUFFER_TOO_SMALL, the size of Buffer required to retrieve the requested file. @param Buffer The memory buffer to transfer the file to. IF Buffer is NULL, - then no the size of the requested file is returned in + then the size of the requested file is returned in BufferSize. @retval EFI_SUCCESS The file was loaded. diff --git a/MdePkg/Include/Protocol/TapeIo.h b/MdePkg/Include/Protocol/TapeIo.h index 6183a2083c..00a046081e 100644 --- a/MdePkg/Include/Protocol/TapeIo.h +++ b/MdePkg/Include/Protocol/TapeIo.h @@ -23,7 +23,7 @@ typedef struct _EFI_TAPE_IO_PROTOCOL EFI_TAPE_IO_PROTOCOL; -typedef struct { +typedef struct _EFI_TAPE_HEADER { UINT64 Signature; UINT32 Revision; UINT32 BootDescSize; @@ -41,7 +41,7 @@ typedef struct { CHAR8 SystemName[256]; // UTF-8 CHAR8 TapeTitle[120]; // UTF-8 CHAR8 pad[468]; // pad to 1024 -} TAPE_HEADER; +} EFI_TAPE_HEADER; /** Reads from the tape. @@ -164,8 +164,8 @@ typedef EFI_STATUS (EFIAPI *EFI_TAPE_SPACE)( IN EFI_TAPE_IO_PROTOCOL *This, - INTN Direction, - UINTN Type + IN INTN Direction, + IN UINTN Type ); -- cgit v1.2.3