Update definition aligned to UEFI2.3
authorlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 22 Sep 2009 01:35:39 +0000 (01:35 +0000)
committerlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 22 Sep 2009 01:35:39 +0000 (01:35 +0000)
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.tianocore.org/svn/edk2/trunk@9297 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Include/Protocol/HiiDatabase.h
edk2/MdePkg/Include/Protocol/LoadFile.h
edk2/MdePkg/Include/Protocol/TapeIo.h
edk2/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h

index 4501271..d3ae1ad 100644 (file)
@@ -433,7 +433,7 @@ EFI_STATUS
 (EFIAPI *EFI_HII_GET_KEYBOARD_LAYOUT)(\r
   IN CONST  EFI_HII_DATABASE_PROTOCOL *This,\r
   IN CONST  EFI_GUID                  *KeyGuid,\r
-  IN OUT UINT16                        *KeyboardLayoutLength,\r
+  IN OUT UINT16                       *KeyboardLayoutLength,\r
   OUT       EFI_HII_KEYBOARD_LAYOUT   *KeyboardLayout\r
 );\r
 \r
index 1f05755..3ebfcb2 100644 (file)
@@ -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,\r
                      the size of Buffer required to retrieve the requested file.\r
   @param  Buffer     The memory buffer to transfer the file to. IF Buffer is NULL,\r
-                     then no the size of the requested file is returned in\r
+                     then the size of the requested file is returned in\r
                      BufferSize.\r
 \r
   @retval EFI_SUCCESS           The file was loaded.\r
index 6183a20..00a0460 100644 (file)
@@ -23,7 +23,7 @@
 \r
 typedef struct _EFI_TAPE_IO_PROTOCOL EFI_TAPE_IO_PROTOCOL;\r
 \r
-typedef struct {\r
+typedef struct _EFI_TAPE_HEADER {\r
   UINT64     Signature;\r
   UINT32     Revision;\r
   UINT32     BootDescSize;\r
@@ -41,7 +41,7 @@ typedef struct {
   CHAR8      SystemName[256];  // UTF-8\r
   CHAR8      TapeTitle[120];   // UTF-8\r
   CHAR8      pad[468];         // pad to 1024\r
-} TAPE_HEADER;\r
+} EFI_TAPE_HEADER;\r
 \r
 /**\r
   Reads from the tape.\r
@@ -164,8 +164,8 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_TAPE_SPACE)(\r
   IN EFI_TAPE_IO_PROTOCOL *This,\r
-  INTN                    Direction,\r
-  UINTN                   Type\r
+  IN INTN                 Direction,\r
+  IN UINTN                Type\r
   );   \r
 \r
 \r
index fa35d60..3800478 100644 (file)
@@ -258,10 +258,10 @@ typedef struct _EFI_HII_GIBT_SKIP2_BLOCK {
 /// The device path package is used to carry a device path\r
 /// associated with the package list.\r
 ///\r
-typedef struct _EFI_HII_DEVICE_PATH_PACKAGE {\r
+typedef struct _EFI_HII_DEVICE_PATH_PACKAGE_HDR {\r
   EFI_HII_PACKAGE_HEADER   Header;\r
   // EFI_DEVICE_PATH_PROTOCOL DevicePath[];\r
-} EFI_HII_DEVICE_PATH_PACKAGE;\r
+} EFI_HII_DEVICE_PATH_PACKAGE_HDR;\r
 \r
 //\r
 // Definitions for GUID Package\r
@@ -596,13 +596,13 @@ typedef struct _EFI_HII_IMAGE_PALETTE_INFO {
 //\r
 \r
 ///\r
-/// The Forms package is used to carry forms-based encoding data.\r
+/// The Form package is used to carry form-based encoding data.\r
 ///\r
-typedef struct _EFI_HII_FORM_PACKAGE {\r
+typedef struct _EFI_HII_FORM_PACKAGE_HDR {\r
   EFI_HII_PACKAGE_HEADER       Header;\r
   // EFI_IFR_OP_HEADER         OpCodeHeader;\r
   // More op-codes follow\r
-} EFI_HII_FORM_PACKAGE;\r
+} EFI_HII_FORM_PACKAGE_HDR;\r
 \r
 typedef struct {\r
   UINT8 Hour;\r