Code scrub for BdsDxe module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5547 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2
2008-07-22 06:46:58 +00:00
parent a4ac253108
commit 30394aa175
27 changed files with 187 additions and 381 deletions

View File

@@ -278,13 +278,11 @@ typedef enum {
#define STRING_DEPOSITORY_NUMBER 8
//
// #pragma pack(1)
//
// Serial Ports attributes, first one is the value for
// return from callback function, stringtoken is used to
// display the value properly
//
///
/// Serial Ports attributes, first one is the value for
/// return from callback function, stringtoken is used to
/// display the value properly
///
typedef struct {
UINTN Value;
UINT16 StringToken;
@@ -498,8 +496,6 @@ BOpt_FindFiles (
All valid handles in the system except those consume SimpleFs, LoadFile
are stored in DriverMenu for future use.
@retval EFI_SUCCESS The function complets successfully.
@return Other value if failed to build the DriverMenu.
@@ -637,8 +633,6 @@ BOpt_IsEfiApp (
Get the Option Number that has not been allocated for use.
@return The available Option Number.
**/
@@ -651,8 +645,6 @@ BOpt_GetBootOptionNumber (
Get the Option Number that is not in use.
@return The unused Option Number.
**/
@@ -1315,26 +1307,6 @@ EfiLibFileInfo (
IN EFI_FILE_HANDLE FHand
);
/**
change a Unicode string t ASCII string
@param UStr Unicode string
Lenght - most possible length of AStr
@param Length The length of UStr.
@param AStr ASCII string to pass out
@return Actual length
**/
UINTN
UnicodeToAscii (
IN CHAR16 *UStr,
IN UINTN Length,
OUT CHAR8 *AStr
);
/**
This function converts an input device structure to a Unicode string.
@@ -1542,11 +1514,6 @@ BdsStartBootMaint (
/**
Intialize all the string depositories.
**/
VOID
InitializeStringDepository (
@@ -1571,12 +1538,6 @@ GetStringTokenFromDepository (
/**
Reclaim string depositories by moving the current node pointer to list head..
**/
VOID
ReclaimStringDepository (
@@ -1586,11 +1547,6 @@ ReclaimStringDepository (
/**
Release resource for all the string depositories.
**/
VOID
CleanUpStringDepository (
@@ -1623,8 +1579,6 @@ ApplyChangeHandler (
@param Private The BMM context data.
@param CurrentFakeNVMap The current Fack NV Map.
**/
VOID
DiscardChangeHandler (
@@ -1638,8 +1592,6 @@ DiscardChangeHandler (
@param Private The BMM context data.
@param NewPageId The original page ID.
**/
VOID
UpdatePageId (
@@ -1736,7 +1688,6 @@ FormSetDispatcher (
/**
Function returns the value of the specified variable.
@param Name A Null-terminated Unicode string that is
the name of the vendor's variable.
@param VendorGuid A unique identifier for the vendor.