summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-07 04:44:53 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-07 04:44:53 +0000
commit370ec7f1b01f900f5f8322859d0bee1efa962dc1 (patch)
tree5ad3c17dc78cf8e0a8ed2a4f62b62fd82d5ff73b /OvmfPkg/Library
parentd5275ee678cad97d56fde593239b4806cc1ef3c4 (diff)
downloadedk2-platforms-370ec7f1b01f900f5f8322859d0bee1efa962dc1.tar.xz
Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8494 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
index 0afec23606..8a93117f4d 100644
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -21,7 +21,7 @@
VOID
EFIAPI
PlatformBdsInit (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
+ VOID
)
/*++
@@ -32,8 +32,6 @@ Routine Description:
Arguments:
- PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
-
Returns:
None.
@@ -764,7 +762,6 @@ Returns:
VOID
EFIAPI
PlatformBdsPolicyBehavior (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
IN OUT LIST_ENTRY *DriverOptionList,
IN OUT LIST_ENTRY *BootOptionList
)
@@ -778,8 +775,6 @@ Routine Description:
Arguments:
- PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
-
DriverOptionList - The header of the driver option link list
BootOptionList - The header of the boot option link list
@@ -798,6 +793,7 @@ Returns:
UINTN Index;
EFI_INPUT_KEY Key;
EFI_TPL OldTpl;
+ EFI_BOOT_MODE BootMode;
DEBUG ((EFI_D_INFO, "PlatformBdsPolicyBehavior\n"));
@@ -814,14 +810,14 @@ Returns:
//
// Get current Boot Mode
//
- Status = BdsLibGetBootMode (&PrivateData->BootMode);
- DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", PrivateData->BootMode));
+ Status = BdsLibGetBootMode (&BootMode);
+ DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));
//
// Go the different platform policy with different boot mode
// 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
//