summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-09 05:17:06 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-09 05:17:06 +0000
commit41bc19f19d9daa51eb8e6f24931de481bfcbac18 (patch)
treea0d3e683f2d8df02ca5e824051e998870266ebab /MdeModulePkg
parent262b0668486eb8ef4983dccc937289f74e68d638 (diff)
downloadedk2-41bc19f19d9daa51eb8e6f24931de481bfcbac18.zip
edk2-41bc19f19d9daa51eb8e6f24931de481bfcbac18.tar.gz
edk2-41bc19f19d9daa51eb8e6f24931de481bfcbac18.tar.bz2
Synchronize PlatformBdsLibNull library class's header file to library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6926 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c31
1 files changed, 17 insertions, 14 deletions
diff --git a/MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c b/MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
index 0371b60..af43095 100644
--- a/MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
+++ b/MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
@@ -18,13 +18,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// BDS Platform Functions
//
/**
- Platform Bds init. Include the platform firmware vendor, revision
+ Platform Bds init. Incude the platform firmware vendor, revision
and so crc check.
@param PrivateData The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
**/
VOID
+EFIAPI
PlatformBdsInit (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
)
@@ -101,17 +102,17 @@ PlatformBdsDiagnostics (
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
-
- @param PrivateData The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
- @param DriverOptionList The header of the driver option link list
- @param BootOptionList The header of the boot option link list
+ @param PrivateData The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance
+ @param DriverOptionList The header of the driver option link list
+ @param BootOptionList The header of the boot option link list
**/
VOID
+EFIAPI
PlatformBdsPolicyBehavior (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
- IN OUT LIST_ENTRY *DriverOptionList,
- IN OUT LIST_ENTRY *BootOptionList
+ IN LIST_ENTRY *DriverOptionList,
+ IN LIST_ENTRY *BootOptionList
)
{
return ;
@@ -119,16 +120,17 @@ PlatformBdsPolicyBehavior (
/**
Hook point after a boot attempt succeeds. We don't expect a boot option to
- return, so the EFI 1.0 specification defines that you will default to an
+ return, so the UEFI 2.0 specification defines that you will default to an
interactive mode and stop processing the BootOrder list in this case. This
is alos a platform implementation and can be customized by IBV/OEM.
- @param Option Pointer to Boot Option that succeeded to boot.
+ @param Option Pointer to Boot Option that succeeded to boot.
**/
VOID
+EFIAPI
PlatformBdsBootSuccess (
- IN BDS_COMMON_OPTION *Option
+ IN BDS_COMMON_OPTION *Option
)
{
return;
@@ -137,13 +139,14 @@ PlatformBdsBootSuccess (
/**
Hook point after a boot attempt fails.
- @param Option Pointer to Boot Option that failed to boot.
- @param Status Status returned from failed boot.
- @param ExitData Exit data returned from failed boot.
- @param ExitDataSize Exit data size returned from failed boot.
+ @param Option Pointer to Boot Option that failed to boot.
+ @param Status Status returned from failed boot.
+ @param ExitData Exit data returned from failed boot.
+ @param ExitDataSize Exit data size returned from failed boot.
**/
VOID
+EFIAPI
PlatformBdsBootFail (
IN BDS_COMMON_OPTION *Option,
IN EFI_STATUS Status,