mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8492 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f7cdf5cdd3
commit
20fac4432d
@ -349,8 +349,9 @@ Returns:
|
|||||||
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsInit (
|
PlatformBdsInit (
|
||||||
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
|
VOID
|
||||||
)
|
)
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
@ -361,8 +362,6 @@ Routine Description:
|
|||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
None.
|
None.
|
||||||
@ -1117,8 +1116,8 @@ Returns:
|
|||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsPolicyBehavior (
|
PlatformBdsPolicyBehavior (
|
||||||
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
|
|
||||||
IN OUT LIST_ENTRY *DriverOptionList,
|
IN OUT LIST_ENTRY *DriverOptionList,
|
||||||
IN OUT LIST_ENTRY *BootOptionList
|
IN OUT LIST_ENTRY *BootOptionList
|
||||||
)
|
)
|
||||||
@ -1132,8 +1131,6 @@ Routine Description:
|
|||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
|
|
||||||
|
|
||||||
DriverOptionList - The header of the driver option link list
|
DriverOptionList - The header of the driver option link list
|
||||||
|
|
||||||
BootOptionList - The header of the boot option link list
|
BootOptionList - The header of the boot option link list
|
||||||
@ -1152,6 +1149,7 @@ Returns:
|
|||||||
UINTN Index;
|
UINTN Index;
|
||||||
EFI_INPUT_KEY Key;
|
EFI_INPUT_KEY Key;
|
||||||
EFI_TPL OldTpl;
|
EFI_TPL OldTpl;
|
||||||
|
EFI_BOOT_MODE BootMode;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Init the time out value
|
// Init the time out value
|
||||||
@ -1166,14 +1164,14 @@ Returns:
|
|||||||
//
|
//
|
||||||
// Get current Boot Mode
|
// Get current Boot Mode
|
||||||
//
|
//
|
||||||
Status = BdsLibGetBootMode (&PrivateData->BootMode);
|
Status = BdsLibGetBootMode (&BootMode);
|
||||||
DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", PrivateData->BootMode));
|
DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));
|
||||||
|
|
||||||
//
|
//
|
||||||
// Go the different platform policy with different boot mode
|
// Go the different platform policy with different boot mode
|
||||||
// Notes: this part code can be change with the table policy
|
// Notes: this part code can be change with the table policy
|
||||||
//
|
//
|
||||||
ASSERT (PrivateData->BootMode == BOOT_WITH_FULL_CONFIGURATION);
|
ASSERT (BootMode == BOOT_WITH_FULL_CONFIGURATION);
|
||||||
//
|
//
|
||||||
// Connect platform console
|
// Connect platform console
|
||||||
//
|
//
|
||||||
@ -1287,6 +1285,7 @@ Returns:
|
|||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsBootSuccess (
|
PlatformBdsBootSuccess (
|
||||||
IN BDS_COMMON_OPTION *Option
|
IN BDS_COMMON_OPTION *Option
|
||||||
)
|
)
|
||||||
@ -1323,6 +1322,7 @@ Returns:
|
|||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsBootFail (
|
PlatformBdsBootFail (
|
||||||
IN BDS_COMMON_OPTION *Option,
|
IN BDS_COMMON_OPTION *Option,
|
||||||
IN EFI_STATUS Status,
|
IN EFI_STATUS Status,
|
||||||
|
@ -215,18 +215,6 @@ extern PLATFORM_ROOT_BRIDGE_DEVICE_PATH gPlatformRootBridge0;
|
|||||||
//
|
//
|
||||||
// Platform BDS Functions
|
// Platform BDS Functions
|
||||||
//
|
//
|
||||||
VOID
|
|
||||||
PlatformBdsInit (
|
|
||||||
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
|
|
||||||
);
|
|
||||||
|
|
||||||
VOID
|
|
||||||
PlatformBdsPolicyBehavior (
|
|
||||||
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
|
|
||||||
IN LIST_ENTRY *DriverOptionList,
|
|
||||||
IN LIST_ENTRY *BootOptionList
|
|
||||||
);
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
PlatformBdsGetDriverOption (
|
PlatformBdsGetDriverOption (
|
||||||
IN LIST_ENTRY *BdsDriverLists
|
IN LIST_ENTRY *BdsDriverLists
|
||||||
@ -252,19 +240,6 @@ PlatformBdsConnectSequence (
|
|||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
VOID
|
|
||||||
PlatformBdsBootFail (
|
|
||||||
IN BDS_COMMON_OPTION *Option,
|
|
||||||
IN EFI_STATUS Status,
|
|
||||||
IN CHAR16 *ExitData,
|
|
||||||
IN UINTN ExitDataSize
|
|
||||||
);
|
|
||||||
|
|
||||||
VOID
|
|
||||||
PlatformBdsBootSuccess (
|
|
||||||
IN BDS_COMMON_OPTION *Option
|
|
||||||
);
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
ProcessCapsules (
|
ProcessCapsules (
|
||||||
EFI_BOOT_MODE BootMode
|
EFI_BOOT_MODE BootMode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user