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
@@ -9,7 +9,6 @@
|
||||
#ifndef __LOAD_LINUX_LIB__
|
||||
#define __LOAD_LINUX_LIB__
|
||||
|
||||
|
||||
/**
|
||||
Verifies that the kernel setup image is valid and supported.
|
||||
The kernel setup image should be checked before using other library
|
||||
@@ -26,11 +25,10 @@
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
LoadLinuxCheckKernelSetup (
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN KernelSetupSize
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN KernelSetupSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Gets the initial runtime size of the Linux kernel image by examining
|
||||
the kernel setup image.
|
||||
@@ -46,11 +44,10 @@ LoadLinuxCheckKernelSetup (
|
||||
UINTN
|
||||
EFIAPI
|
||||
LoadLinuxGetKernelSize (
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN KernelSize
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN KernelSize
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Loads and boots UEFI Linux.
|
||||
|
||||
@@ -71,7 +68,6 @@ LoadLinux (
|
||||
IN OUT VOID *KernelSetup
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocates pages for the kernel setup image.
|
||||
|
||||
@@ -81,13 +77,12 @@ LoadLinux (
|
||||
@retval !NULL - The address of the pages allocated
|
||||
|
||||
**/
|
||||
VOID*
|
||||
VOID *
|
||||
EFIAPI
|
||||
LoadLinuxAllocateKernelSetupPages (
|
||||
IN UINTN Pages
|
||||
IN UINTN Pages
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Clears the uninitialised space before and after the struct setup_header
|
||||
in the kernel setup image. The kernel requires that these be zeroed
|
||||
@@ -105,7 +100,7 @@ LoadLinuxAllocateKernelSetupPages (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
LoadLinuxInitializeKernelSetup (
|
||||
IN VOID *KernelSetup
|
||||
IN VOID *KernelSetup
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -119,14 +114,13 @@ LoadLinuxInitializeKernelSetup (
|
||||
@retval !NULL - The address of the pages allocated
|
||||
|
||||
**/
|
||||
VOID*
|
||||
VOID *
|
||||
EFIAPI
|
||||
LoadLinuxAllocateKernelPages (
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN Pages
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN Pages
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocates pages for the kernel command line.
|
||||
|
||||
@@ -136,13 +130,12 @@ LoadLinuxAllocateKernelPages (
|
||||
@retval !NULL - The address of the pages allocated
|
||||
|
||||
**/
|
||||
VOID*
|
||||
VOID *
|
||||
EFIAPI
|
||||
LoadLinuxAllocateCommandLinePages (
|
||||
IN UINTN Pages
|
||||
IN UINTN Pages
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocates pages for the initrd image.
|
||||
|
||||
@@ -153,14 +146,13 @@ LoadLinuxAllocateCommandLinePages (
|
||||
@retval !NULL - The address of the pages allocated
|
||||
|
||||
**/
|
||||
VOID*
|
||||
VOID *
|
||||
EFIAPI
|
||||
LoadLinuxAllocateInitrdPages (
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN Pages
|
||||
IN VOID *KernelSetup,
|
||||
IN UINTN Pages
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Sets the kernel command line parameter within the setup image.
|
||||
|
||||
@@ -175,11 +167,10 @@ LoadLinuxAllocateInitrdPages (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
LoadLinuxSetCommandLine (
|
||||
IN OUT VOID *KernelSetup,
|
||||
IN CHAR8 *CommandLine
|
||||
IN OUT VOID *KernelSetup,
|
||||
IN CHAR8 *CommandLine
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Sets the kernel initial ram disk pointer within the setup image.
|
||||
|
||||
@@ -195,11 +186,9 @@ LoadLinuxSetCommandLine (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
LoadLinuxSetInitrd (
|
||||
IN OUT VOID *KernelSetup,
|
||||
IN VOID *Initrd,
|
||||
IN UINTN InitrdSize
|
||||
IN OUT VOID *KernelSetup,
|
||||
IN VOID *Initrd,
|
||||
IN UINTN InitrdSize
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user