summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/BdsDxe
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-10 12:24:53 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-10 12:24:53 +0000
commit7b3e2a1b9a538ea4ec60a34337085b2b4686f6b5 (patch)
tree0985b109507a5e7486a1dc876abee7ea9ac68e54 /MdeModulePkg/Universal/BdsDxe
parent2fbae53e51037e148e5e4db913532e3ee8e4bd34 (diff)
downloadedk2-platforms-7b3e2a1b9a538ea4ec60a34337085b2b4686f6b5.tar.xz
Clean up Device Manager module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5448 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe')
-rw-r--r--MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c25
-rw-r--r--MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h4
2 files changed, 16 insertions, 13 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
index 5b1aacaa1e..49c3e7da70 100644
--- a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
+++ b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
@@ -40,7 +40,9 @@ DEVICE_MANAGER_MENU_ITEM mDeviceManagerMenuItemTable[] = {
(sizeof (mDeviceManagerMenuItemTable) / sizeof (DEVICE_MANAGER_MENU_ITEM))
/**
- This function processes the results of changes in configuration.
+ 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 Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.
@@ -52,9 +54,7 @@ DEVICE_MANAGER_MENU_ITEM mDeviceManagerMenuItemTable[] = {
@param ActionRequest On return, points to the action requested by the callback function.
@retval EFI_SUCCESS The callback successfully handled the action.
- @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data.
- @retval EFI_DEVICE_ERROR The variable could not be saved.
- @retval EFI_UNSUPPORTED The specified Action is not supported by the callback.
+ @retval EFI_INVALID_PARAMETER The setup browser call this function with invalid parameters.
**/
EFI_STATUS
@@ -112,12 +112,11 @@ DeviceManagerCallback (
/**
- Initialize HII information for the FrontPage
+ This function registers HII packages to HII database.
- @param VOID EDES_TODO: Add parameter description
-
- @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
@@ -166,13 +165,17 @@ InitializeDeviceManager (
/**
- Call the browser and display the device manager
+ Call the browser and display the device manager to allow user
+ to configure the platform.
+ This function create the dynamic content for device manager. It includes
+ section header for all class of devices, one-of opcode to set VBIOS.
+
- @param VOID EDES_TODO: Add parameter description
@retval EFI_SUCCESS Operation is successful.
- @retval EFI_INVALID_PARAMETER If the inputs to SendForm function is not valid.
+ @retval Other values if failed to clean up the dynamic content from HII
+ database.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
index 3b1564399e..a3b5dfeb9f 100644
--- a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
+++ b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
@@ -12,8 +12,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
-#ifndef _DEVICE_MANAGER_H
-#define _DEVICE_MANAGER_H
+#ifndef _DEVICE_MANAGER_H_
+#define _DEVICE_MANAGER_H_
#include "Bds.h"
#include "FrontPage.h"