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
@@ -11,7 +11,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Guid/XenInfo.h>
|
||||
|
||||
STATIC VOID *HyperPage;
|
||||
STATIC VOID *HyperPage;
|
||||
|
||||
/**
|
||||
Check if the Xen Hypercall library is able to make calls to the Xen
|
||||
@@ -38,30 +38,30 @@ XenHypercallIsAvailable (
|
||||
INTN
|
||||
EFIAPI
|
||||
__XenHypercall2 (
|
||||
IN VOID *HypercallAddr,
|
||||
IN OUT INTN Arg1,
|
||||
IN OUT INTN Arg2
|
||||
IN VOID *HypercallAddr,
|
||||
IN OUT INTN Arg1,
|
||||
IN OUT INTN Arg2
|
||||
);
|
||||
|
||||
/**
|
||||
Library constructor: retrieves the Hyperpage address
|
||||
from the gEfiXenInfoGuid HOB
|
||||
**/
|
||||
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
XenHypercallLibInit (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
EFI_HOB_GUID_TYPE *GuidHob;
|
||||
EFI_XEN_INFO *XenInfo;
|
||||
EFI_HOB_GUID_TYPE *GuidHob;
|
||||
EFI_XEN_INFO *XenInfo;
|
||||
|
||||
GuidHob = GetFirstGuidHob (&gEfiXenInfoGuid);
|
||||
if (GuidHob == NULL) {
|
||||
return RETURN_NOT_FOUND;
|
||||
}
|
||||
XenInfo = (EFI_XEN_INFO *) GET_GUID_HOB_DATA (GuidHob);
|
||||
|
||||
XenInfo = (EFI_XEN_INFO *)GET_GUID_HOB_DATA (GuidHob);
|
||||
HyperPage = XenInfo->HyperPages;
|
||||
return RETURN_SUCCESS;
|
||||
}
|
||||
@@ -86,5 +86,5 @@ XenHypercall2 (
|
||||
{
|
||||
ASSERT (HyperPage != NULL);
|
||||
|
||||
return __XenHypercall2 ((UINT8*)HyperPage + HypercallID * 32, Arg1, Arg2);
|
||||
return __XenHypercall2 ((UINT8 *)HyperPage + HypercallID * 32, Arg1, Arg2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user