1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -161,7 +161,6 @@ IDEBusDriverConfigurationSetOptions (
|
||||
UINT8 NewValue;
|
||||
UINTN DataSize;
|
||||
UINTN Index;
|
||||
UINT32 Attributes;
|
||||
|
||||
if (ChildHandle != NULL) {
|
||||
return EFI_UNSUPPORTED;
|
||||
@@ -173,7 +172,7 @@ IDEBusDriverConfigurationSetOptions (
|
||||
Status = gRT->GetVariable (
|
||||
L"Configuration",
|
||||
&gEfiCallerIdGuid,
|
||||
&Attributes,
|
||||
NULL,
|
||||
&DataSize,
|
||||
&Value
|
||||
);
|
||||
@@ -255,7 +254,6 @@ IDEBusDriverConfigurationOptionsValid (
|
||||
EFI_STATUS Status;
|
||||
UINT8 Value;
|
||||
UINTN DataSize;
|
||||
UINT32 Attributes;
|
||||
|
||||
if (ChildHandle != NULL) {
|
||||
return EFI_UNSUPPORTED;
|
||||
@@ -265,7 +263,7 @@ IDEBusDriverConfigurationOptionsValid (
|
||||
Status = gRT->GetVariable (
|
||||
L"Configuration",
|
||||
&gEfiCallerIdGuid,
|
||||
&Attributes,
|
||||
NULL,
|
||||
&DataSize,
|
||||
&Value
|
||||
);
|
||||
|
Reference in New Issue
Block a user