mirror of https://github.com/acidanthera/audk.git
Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8493 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
20fac4432d
commit
d5275ee678
|
@ -66,8 +66,9 @@ SetupVariableInit (
|
||||||
// BDS Platform Functions
|
// BDS Platform Functions
|
||||||
//
|
//
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsInit (
|
PlatformBdsInit (
|
||||||
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
|
VOID
|
||||||
)
|
)
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
@ -78,8 +79,6 @@ Routine Description:
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
None.
|
None.
|
||||||
|
@ -301,8 +300,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
|
||||||
)
|
)
|
||||||
|
@ -316,8 +315,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
|
||||||
|
@ -328,8 +325,9 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
UINT16 Timeout;
|
UINT16 Timeout;
|
||||||
|
EFI_BOOT_MODE BootMode;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Init the time out value
|
// Init the time out value
|
||||||
|
@ -344,13 +342,13 @@ Returns:
|
||||||
//
|
//
|
||||||
// Get current Boot Mode
|
// Get current Boot Mode
|
||||||
//
|
//
|
||||||
Status = BdsLibGetBootMode (&PrivateData->BootMode);
|
Status = BdsLibGetBootMode (&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
|
||||||
//
|
//
|
||||||
switch (PrivateData->BootMode) {
|
switch (BootMode) {
|
||||||
|
|
||||||
case BOOT_ASSUMING_NO_CONFIGURATION_CHANGES:
|
case BOOT_ASSUMING_NO_CONFIGURATION_CHANGES:
|
||||||
case BOOT_WITH_MINIMAL_CONFIGURATION:
|
case BOOT_WITH_MINIMAL_CONFIGURATION:
|
||||||
|
@ -443,6 +441,7 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
PlatformBdsBootSuccess (
|
PlatformBdsBootSuccess (
|
||||||
IN BDS_COMMON_OPTION *Option
|
IN BDS_COMMON_OPTION *Option
|
||||||
)
|
)
|
||||||
|
@ -479,6 +478,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,
|
||||||
|
|
Loading…
Reference in New Issue