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

@@ -43,20 +43,20 @@ extern UINT8 DeviceManagerVfrBin[];
typedef struct {
UINTN Signature;
//
// HII relative handles
//
///
/// HII relative handles
///
EFI_HII_HANDLE HiiHandle;
EFI_HANDLE DriverHandle;
//
// Produced protocols
//
///
/// Produced protocols
///
EFI_HII_CONFIG_ACCESS_PROTOCOL ConfigAccess;
//
// Configuration data
//
///
/// Configuration data
///
UINT8 VideoBios;
} DEVICE_MANAGER_CALLBACK_DATA;
@@ -72,16 +72,21 @@ typedef struct {
} DEVICE_MANAGER_MENU_ITEM;
/**
EDES_TODO: Add function description.
This function is invoked if user selected a iteractive opcode from Device Manager's
Formset. The decision by user is saved to gCallbackKey for later processing. If
user set VBIOS, the new value is saved to EFI variable.
@param This EDES_TODO: Add parameter description
@param Action EDES_TODO: Add parameter description
@param QuestionId EDES_TODO: Add parameter description
@param Type EDES_TODO: Add parameter description
@param Value EDES_TODO: Add parameter description
@param ActionRequest EDES_TODO: Add parameter description
@return EDES_TODO: Add description for return value
@param This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.
@param Action Specifies the type of action taken by the browser.
@param QuestionId A unique value which is sent to the original exporting driver
so that it can identify the type of data to expect.
@param Type The type of value for the question.
@param Value A pointer to the data being sent to the original exporting driver.
@param ActionRequest On return, points to the action requested by the callback function.
@retval EFI_SUCCESS The callback successfully handled the action.
@retval EFI_INVALID_PARAMETER The setup browser call this function with invalid parameters.
**/
EFI_STATUS
@@ -97,11 +102,11 @@ DeviceManagerCallback (
;
/**
EDES_TODO: Add function description.
@param VOID EDES_TODO: Add parameter description
This function registers HII packages to HII database.
@return EDES_TODO: Add description for return value
@retval EFI_SUCCESS This function complete successfully.
@return Other value if failed to register HII packages.
**/
EFI_STATUS
@@ -111,11 +116,16 @@ InitializeDeviceManager (
;
/**
EDES_TODO: Add function description.
@param VOID EDES_TODO: Add parameter description
Call the browser and display the device manager to allow user
to configure the platform.
@return EDES_TODO: Add description for return value
This function create the dynamic content for device manager. It includes
section header for all class of devices, one-of opcode to set VBIOS.
@retval EFI_SUCCESS Operation is successful.
@retval Other values if failed to clean up the dynamic content from HII
database.
**/
EFI_STATUS