Changed definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96
[mirror_edk2.git] / MdePkg / Include / Protocol / LegacyBios.h
index c508009b9b89cacbd21fde5933e7ec28eeb7474d..36f8a22697fec28bbe68ceca27f8b92a44628dec 100644 (file)
@@ -183,15 +183,15 @@ typedef struct {
   UINT8   EfiMinorRevision;\r
   UINT8   TableMajorRevision;\r
   UINT8   TableMinorRevision;\r
-  UINT8   Reserved[2];\r
-  UINT16  Legacy16CallSegment;\r
-  UINT16  Legacy16CallOffset;\r
+  UINT16  Reserved;\r
+  UINT16  Compatibility16CallSegment;\r
+  UINT16  Compatibility16CallOffset;\r
 \r
   UINT16  PnPInstallationCheckSegment;\r
   UINT16  PnPInstallationCheckOffset;\r
 \r
   UINT32  EfiSystemTable;\r
-  UINT32  OemStringPointer;\r
+  UINT32  OemIdStringPointer;\r
   UINT32  AcpiRsdPtrPointer;\r
   UINT16  OemRevision;\r
   UINT32  E820Pointer;\r
@@ -516,7 +516,7 @@ EFI_STATUS
   OUT UINT16                          *HddCount,\r
   OUT HDD_INFO                        **HddInfo,\r
   OUT UINT16                          *BbsCount,\r
-  OUT IN BBS_TABLE                    **BbsTable\r
+  IN OUT BBS_TABLE                    **BbsTable\r
   )\r
 ;\r
 \r
@@ -536,7 +536,7 @@ EFI_STATUS
 (EFIAPI *EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI) (\r
   IN EFI_LEGACY_BIOS_PROTOCOL         *This,\r
   OUT UINT16                          *BbsCount,\r
-  OUT IN BBS_TABLE                    **BbsTable\r
+  OUT BBS_TABLE                       **BbsTable\r
   )\r
 ;\r
 \r
@@ -689,8 +689,8 @@ struct _EFI_LEGACY_BIOS_PROTOCOL {
   EFI_LEGACY_BIOS_BOOT                        LegacyBoot;\r
   EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS  UpdateKeyboardLedStatus;\r
   EFI_LEGACY_BIOS_GET_BBS_INFO                GetBbsInfo;\r
-  EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI         PrepareToBootEfi;\r
   EFI_LEGACY_BIOS_SHADOW_ALL_LEGACY_OPROMS    ShadowAllLegacyOproms;\r
+  EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI         PrepareToBootEfi;\r
   EFI_LEGACY_BIOS_GET_LEGACY_REGION           GetLegacyRegion;\r
   EFI_LEGACY_BIOS_COPY_LEGACY_REGION          CopyLegacyRegion;\r
   EFI_LEGACY_BIOS_BOOT_UNCONVENTIONAL_DEVICE  BootUnconventionalDevice;\r