mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
Removes dependencies on SMBIOS in the IntelFrameworkModulePkg’s BDS.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16207 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ebb9235329
commit
6d5b88f372
@ -741,8 +741,7 @@ UpdateFrontPageStrings (
|
|||||||
NULL,
|
NULL,
|
||||||
(VOID **) &Smbios
|
(VOID **) &Smbios
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
if (!EFI_ERROR (Status)) {
|
||||||
|
|
||||||
SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;
|
SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;
|
||||||
do {
|
do {
|
||||||
Status = Smbios->GetNext (Smbios, &SmbiosHandle, NULL, &Record, NULL);
|
Status = Smbios->GetNext (Smbios, &SmbiosHandle, NULL, &Record, NULL);
|
||||||
@ -801,6 +800,7 @@ UpdateFrontPageStrings (
|
|||||||
Find[4] = TRUE;
|
Find[4] = TRUE;
|
||||||
}
|
}
|
||||||
} while ( !(Find[0] && Find[1] && Find[2] && Find[3] && Find[4]));
|
} while ( !(Find[0] && Find[1] && Find[2] && Find[3] && Find[4]));
|
||||||
|
}
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user