summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Library/Nt32BdsLib
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-07 04:44:35 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-07 04:44:35 +0000
commitd5275ee678cad97d56fde593239b4806cc1ef3c4 (patch)
tree9d6e36d73bd8e3462ca809f5bcd36467b49c3847 /Nt32Pkg/Library/Nt32BdsLib
parent20fac4432d16020ff9bf646b677586d67460a8e8 (diff)
downloadedk2-platforms-d5275ee678cad97d56fde593239b4806cc1ef3c4.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@8493 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Library/Nt32BdsLib')
-rw-r--r--Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c
index 7c4d7069a6..891492ff82 100644
--- a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c
+++ b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c
@@ -66,8 +66,9 @@ SetupVariableInit (
// BDS Platform Functions
//
VOID
+EFIAPI
PlatformBdsInit (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
+ VOID
)
/*++
@@ -78,8 +79,6 @@ Routine Description:
Arguments:
- PrivateData - The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
-
Returns:
None.
@@ -301,8 +300,8 @@ Returns:
}
VOID
+EFIAPI
PlatformBdsPolicyBehavior (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
IN OUT LIST_ENTRY *DriverOptionList,
IN OUT LIST_ENTRY *BootOptionList
)
@@ -316,8 +315,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
@@ -328,8 +325,9 @@ Returns:
--*/
{
- EFI_STATUS Status;
- UINT16 Timeout;
+ EFI_STATUS Status;
+ UINT16 Timeout;
+ EFI_BOOT_MODE BootMode;
//
// Init the time out value
@@ -344,13 +342,13 @@ Returns:
//
// Get current Boot Mode
//
- Status = BdsLibGetBootMode (&PrivateData->BootMode);
+ Status = BdsLibGetBootMode (&BootMode);
//
// Go the different platform policy with different boot mode
// Notes: this part code can be change with the table policy
//
- switch (PrivateData->BootMode) {
+ switch (BootMode) {
case BOOT_ASSUMING_NO_CONFIGURATION_CHANGES:
case BOOT_WITH_MINIMAL_CONFIGURATION:
@@ -443,6 +441,7 @@ Returns:
}
VOID
+EFIAPI
PlatformBdsBootSuccess (
IN BDS_COMMON_OPTION *Option
)
@@ -479,6 +478,7 @@ Returns:
}
VOID
+EFIAPI
PlatformBdsBootFail (
IN BDS_COMMON_OPTION *Option,
IN EFI_STATUS Status,