OvmfPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the OvmfPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
d1050b9dff
commit
ac0a286f4d
@@ -27,16 +27,17 @@ QemuFwCfgS3Enabled (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
RETURN_STATUS Status;
|
||||
FIRMWARE_CONFIG_ITEM FwCfgItem;
|
||||
UINTN FwCfgSize;
|
||||
UINT8 SystemStates[6];
|
||||
RETURN_STATUS Status;
|
||||
FIRMWARE_CONFIG_ITEM FwCfgItem;
|
||||
UINTN FwCfgSize;
|
||||
UINT8 SystemStates[6];
|
||||
|
||||
Status = QemuFwCfgFindFile ("etc/system-states", &FwCfgItem, &FwCfgSize);
|
||||
if (Status != RETURN_SUCCESS || FwCfgSize != sizeof SystemStates) {
|
||||
if ((Status != RETURN_SUCCESS) || (FwCfgSize != sizeof SystemStates)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
QemuFwCfgSelectItem (FwCfgItem);
|
||||
QemuFwCfgReadBytes (sizeof SystemStates, SystemStates);
|
||||
return (BOOLEAN) (SystemStates[3] & BIT7);
|
||||
return (BOOLEAN)(SystemStates[3] & BIT7);
|
||||
}
|
||||
|
Reference in New Issue
Block a user