mirror of https://github.com/acidanthera/audk.git
Refine comments for BDS module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7084 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ec815813ce
commit
bddd8b2d17
|
@ -15,8 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#ifndef _BDS_MODULE_H_
|
||||
#define _BDS_MODULE_H_
|
||||
|
||||
#undef EFI_SPECIFICATION_VERSION
|
||||
#define EFI_SPECIFICATION_VERSION 0x0002000A
|
||||
#include <PiDxe.h>
|
||||
#include <MdeModuleHii.h>
|
||||
|
||||
|
@ -73,7 +71,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include <Library/PlatformBdsLib.h>
|
||||
|
||||
#define EFI_BDS_ARCH_PROTOCOL_INSTANCE_FROM_THIS(_this) \
|
||||
CR (_this, \
|
||||
CR ((_this), \
|
||||
EFI_BDS_ARCH_PROTOCOL_INSTANCE, \
|
||||
Bds, \
|
||||
EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE \
|
||||
|
@ -83,7 +81,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
Show progress bar with title above it. It only works in Graphics mode.
|
||||
|
||||
|
||||
@param TitleForeground Foreground color for Title.
|
||||
@param TitleBackground Background color for Title.
|
||||
@param Title Title above progress bar.
|
||||
|
@ -112,15 +109,12 @@ PlatformBdsShowProgress (
|
|||
|
||||
Install Boot Device Selection Protocol
|
||||
|
||||
|
||||
@param ImageHandle The image handle.
|
||||
@param SystemTable The system table.
|
||||
|
||||
@retval EFI_SUCEESS BDS has finished initializing.
|
||||
Rerun the
|
||||
dispatcher and recall BDS.Entry
|
||||
@retval Other Return value from AllocatePool()
|
||||
or gBS->InstallProtocolInterface
|
||||
Return the dispatcher and recall BDS.Entry
|
||||
@retval Other Return status from AllocatePool() or gBS->InstallProtocolInterface
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
@ -135,7 +129,7 @@ BdsInitialize (
|
|||
Service routine for BdsInstance->Entry(). Devices are connected, the
|
||||
consoles are initialized, and the boot options are tried.
|
||||
|
||||
@param This - Protocol Instance structure.
|
||||
@param This Protocol Instance structure.
|
||||
|
||||
**/
|
||||
VOID
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
/** @file
|
||||
The entry of the bds
|
||||
This module produce main entry for BDS phase - BdsEntry.
|
||||
When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid will be installed
|
||||
which contains interface of BdsEntry.
|
||||
After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
|
||||
to enter BDS phase.
|
||||
|
||||
Copyright (c) 2004 - 2008, Intel Corporation. <BR>
|
||||
All rights reserved. This program and the accompanying materials
|
||||
|
@ -44,15 +48,12 @@ EFI_HANDLE mBdsImageHandle;
|
|||
|
||||
Install Boot Device Selection Protocol
|
||||
|
||||
|
||||
@param ImageHandle The image handle.
|
||||
@param SystemTable The system table.
|
||||
|
||||
@retval EFI_SUCEESS BDS has finished initializing.
|
||||
Rerun the
|
||||
dispatcher and recall BDS.Entry
|
||||
@retval Other Return value from AllocatePool()
|
||||
or gBS->InstallProtocolInterface
|
||||
Return the dispatcher and recall BDS.Entry
|
||||
@retval Other Return status from AllocatePool() or gBS->InstallProtocolInterface
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
@ -262,7 +263,7 @@ BdsBootDeviceSelect (
|
|||
Service routine for BdsInstance->Entry(). Devices are connected, the
|
||||
consoles are initialized, and the boot options are tried.
|
||||
|
||||
@param This - Protocol Instance structure.
|
||||
@param This Protocol Instance structure.
|
||||
|
||||
**/
|
||||
VOID
|
||||
|
|
|
@ -179,7 +179,7 @@ BdsBuildLegacyDevNameString (
|
|||
On output, the new boot order list attached with the
|
||||
created node.
|
||||
@param BootOrderListSize On input, the original size of boot order list.
|
||||
- On output, the size of new boot order list.
|
||||
On output, the size of new boot order list.
|
||||
|
||||
@retval EFI_SUCCESS Boot Option successfully created.
|
||||
@retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory.
|
||||
|
@ -1654,10 +1654,10 @@ BdsRefreshBbsTableForBoot (
|
|||
if (BootOrder != NULL) {
|
||||
FreePool (BootOrder);
|
||||
}
|
||||
//
|
||||
// For debug
|
||||
//
|
||||
|
||||
DEBUG_CODE_BEGIN();
|
||||
PrintBbsTable (LocalBbsTable);
|
||||
DEBUG_CODE_END();
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
|
@ -1041,8 +1041,6 @@ InitializeBM (
|
|||
|
||||
@param CallbackData The BMM context data.
|
||||
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
InitAllMenu (
|
||||
|
@ -1068,10 +1066,6 @@ InitAllMenu (
|
|||
/**
|
||||
Free up all Menu Option list.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
FreeAllMenu (
|
||||
|
@ -1090,11 +1084,6 @@ FreeAllMenu (
|
|||
/**
|
||||
Intialize all the string depositories.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
InitializeStringDepository (
|
||||
|
@ -1115,7 +1104,6 @@ InitializeStringDepository (
|
|||
/**
|
||||
Fetch a usable string node from the string depository and return the string token.
|
||||
|
||||
|
||||
@param CallbackData The BMM context data.
|
||||
@param StringDepository The string repository.
|
||||
|
||||
|
@ -1164,11 +1152,6 @@ GetStringTokenFromDepository (
|
|||
/**
|
||||
Reclaim string depositories by moving the current node pointer to list head..
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
ReclaimStringDepository (
|
||||
|
@ -1188,11 +1171,6 @@ ReclaimStringDepository (
|
|||
/**
|
||||
Release resource for all the string depositories.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
CleanUpStringDepository (
|
||||
|
|
Loading…
Reference in New Issue