Minor update for PlatOverMngr driver, VariableFormat.h and DxePcdLib.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6114 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2008-10-15 04:20:44 +00:00
parent c30050f5bb
commit 71f36e0f75
4 changed files with 7 additions and 22 deletions

View File

@ -17,12 +17,15 @@
#define VARIABLE_STORE_SIGNATURE EFI_SIGNATURE_32 ('$', 'V', 'S', 'S') #define VARIABLE_STORE_SIGNATURE EFI_SIGNATURE_32 ('$', 'V', 'S', 'S')
#ifndef MAX_VARIABLE_SIZE
#define MAX_VARIABLE_SIZE FixedPcdGet32(PcdMaxVariableSize) #define MAX_VARIABLE_SIZE FixedPcdGet32(PcdMaxVariableSize)
#endif
// //
// Enlarges the hardware error record maximum variable size to 32K bytes // Enlarges the hardware error record maximum variable size to 32K bytes
// //
#ifndef MAX_HARDWARE_ERROR_VARIABLE_SIZE
#define MAX_HARDWARE_ERROR_VARIABLE_SIZE FixedPcdGet32(PcdMaxHardwareErrorVariableSize) #define MAX_HARDWARE_ERROR_VARIABLE_SIZE FixedPcdGet32(PcdMaxHardwareErrorVariableSize)
#endif
#define VARIABLE_DATA 0x55AA #define VARIABLE_DATA 0x55AA

View File

@ -175,24 +175,6 @@ PlatOverMngrInit (
ZeroMem (mControllerToken, MAX_CHOICE_NUM * sizeof (EFI_STRING_ID)); ZeroMem (mControllerToken, MAX_CHOICE_NUM * sizeof (EFI_STRING_ID));
ZeroMem (mDriverImageProtocol, MAX_CHOICE_NUM * sizeof (EFI_LOADED_IMAGE_PROTOCOL *)); ZeroMem (mDriverImageProtocol, MAX_CHOICE_NUM * sizeof (EFI_LOADED_IMAGE_PROTOCOL *));
//
// Show the page
//
Status = FormBrowser2->SendForm (
FormBrowser2,
&CallbackInfo->RegisteredHandle,
1,
NULL,
0,
NULL,
NULL
);
Status = HiiDatabase->RemovePackageList (HiiDatabase, CallbackInfo->RegisteredHandle);
if (EFI_ERROR (Status)) {
return Status;
}
return EFI_SUCCESS; return EFI_SUCCESS;
} }

View File

@ -19,7 +19,7 @@
INF_VERSION = 0x00010005 INF_VERSION = 0x00010005
BASE_NAME = PlatOverMngr BASE_NAME = PlatOverMngr
FILE_GUID = 56D95BFE-F991-4898-B3BE-B8F37C927F48 FILE_GUID = 56D95BFE-F991-4898-B3BE-B8F37C927F48
MODULE_TYPE = UEFI_APPLICATION MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0 VERSION_STRING = 1.0
EDK_RELEASE_VERSION = 0x00020000 EDK_RELEASE_VERSION = 0x00020000
EFI_SPECIFICATION_VERSION = 0x00020000 EFI_SPECIFICATION_VERSION = 0x00020000
@ -47,7 +47,7 @@
[LibraryClasses] [LibraryClasses]
BaseLib BaseLib
UefiBootServicesTableLib UefiBootServicesTableLib
UefiApplicationEntryPoint UefiDriverEntryPoint
UefiLib UefiLib
DebugLib DebugLib
PlatDriOverLib PlatDriOverLib

View File

@ -514,7 +514,7 @@ LibPcdSet64 (
maximum size supported by TokenNumber and return NULL to maximum size supported by TokenNumber and return NULL to
indicate that the set operation was not actually performed. indicate that the set operation was not actually performed.
If SizeOfValue > 0 and Buffer is NULL, then ASSERT(). If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
@param[in] TokenNumber The PCD token number to set a current value for. @param[in] TokenNumber The PCD token number to set a current value for.
@param[in, out] SizeOfBuffer The size, in bytes, of Buffer. @param[in, out] SizeOfBuffer The size, in bytes, of Buffer.