Changed definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1910 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jtang12 2006-11-08 02:10:54 +00:00
parent b219108e51
commit e4a246f134
2 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ typedef struct {
// //
UINT32 BiosLessThan1MB; UINT32 BiosLessThan1MB;
UINT32 HiPmmMemory; UINT32 HiPmmMemory;
UINT32 PmmMemorySizeInBytes; UINT32 HiPmmMemorySizeInBytes;
UINT16 ReverseThunkCallSegment; UINT16 ReverseThunkCallSegment;
UINT16 ReverseThunkCallOffset; UINT16 ReverseThunkCallOffset;
@ -76,7 +76,7 @@ typedef enum {
// Legacy16InitializeYourself // Legacy16InitializeYourself
// Description: This is the first call to 16-bit code. It allows the // Description: This is the first call to 16-bit code. It allows the
// 16-bit to perform any internal initialization. // 16-bit to perform any internal initialization.
// Input: ES:BX pointer to EFI_TO_LEGACY16_INIT_TABLE // Input: ES:BX pointer to EFI_TO_COMPATIBILITY16_INIT_TABLE
// Output: // Output:
// Legacy16UpdateBbs // Legacy16UpdateBbs
// Description: The 16-bit code updates the BBS table for non-compliant // Description: The 16-bit code updates the BBS table for non-compliant

View File

@ -183,15 +183,15 @@ typedef struct {
UINT8 EfiMinorRevision; UINT8 EfiMinorRevision;
UINT8 TableMajorRevision; UINT8 TableMajorRevision;
UINT8 TableMinorRevision; UINT8 TableMinorRevision;
UINT8 Reserved[2]; UINT16 Reserved;
UINT16 Legacy16CallSegment; UINT16 Compatibility16CallSegment;
UINT16 Legacy16CallOffset; UINT16 Compatibility16CallOffset;
UINT16 PnPInstallationCheckSegment; UINT16 PnPInstallationCheckSegment;
UINT16 PnPInstallationCheckOffset; UINT16 PnPInstallationCheckOffset;
UINT32 EfiSystemTable; UINT32 EfiSystemTable;
UINT32 OemStringPointer; UINT32 OemIdStringPointer;
UINT32 AcpiRsdPtrPointer; UINT32 AcpiRsdPtrPointer;
UINT16 OemRevision; UINT16 OemRevision;
UINT32 E820Pointer; UINT32 E820Pointer;
@ -516,7 +516,7 @@ EFI_STATUS
OUT UINT16 *HddCount, OUT UINT16 *HddCount,
OUT HDD_INFO **HddInfo, OUT HDD_INFO **HddInfo,
OUT UINT16 *BbsCount, OUT UINT16 *BbsCount,
OUT IN BBS_TABLE **BbsTable IN OUT BBS_TABLE **BbsTable
) )
; ;
@ -536,7 +536,7 @@ EFI_STATUS
(EFIAPI *EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI) ( (EFIAPI *EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI) (
IN EFI_LEGACY_BIOS_PROTOCOL *This, IN EFI_LEGACY_BIOS_PROTOCOL *This,
OUT UINT16 *BbsCount, OUT UINT16 *BbsCount,
OUT IN BBS_TABLE **BbsTable OUT BBS_TABLE **BbsTable
) )
; ;
@ -689,8 +689,8 @@ struct _EFI_LEGACY_BIOS_PROTOCOL {
EFI_LEGACY_BIOS_BOOT LegacyBoot; EFI_LEGACY_BIOS_BOOT LegacyBoot;
EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS UpdateKeyboardLedStatus; EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS UpdateKeyboardLedStatus;
EFI_LEGACY_BIOS_GET_BBS_INFO GetBbsInfo; EFI_LEGACY_BIOS_GET_BBS_INFO GetBbsInfo;
EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI PrepareToBootEfi;
EFI_LEGACY_BIOS_SHADOW_ALL_LEGACY_OPROMS ShadowAllLegacyOproms; EFI_LEGACY_BIOS_SHADOW_ALL_LEGACY_OPROMS ShadowAllLegacyOproms;
EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI PrepareToBootEfi;
EFI_LEGACY_BIOS_GET_LEGACY_REGION GetLegacyRegion; EFI_LEGACY_BIOS_GET_LEGACY_REGION GetLegacyRegion;
EFI_LEGACY_BIOS_COPY_LEGACY_REGION CopyLegacyRegion; EFI_LEGACY_BIOS_COPY_LEGACY_REGION CopyLegacyRegion;
EFI_LEGACY_BIOS_BOOT_UNCONVENTIONAL_DEVICE BootUnconventionalDevice; EFI_LEGACY_BIOS_BOOT_UNCONVENTIONAL_DEVICE BootUnconventionalDevice;