X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FInclude%2FLibrary%2FLoadLinuxLib.h;fp=OvmfPkg%2FInclude%2FLibrary%2FLoadLinuxLib.h;h=65f5895bfc6ba3acfda3237705754f9c8f15e89b;hp=483f8d4b9cfc21724cd8e9fe0abbfbd03b4c935b;hb=ac0a286f4d747a4c6c603a7b225917293cbe1e9f;hpb=d1050b9dff1cace252aff86630bfdb59dff5f507 diff --git a/OvmfPkg/Include/Library/LoadLinuxLib.h b/OvmfPkg/Include/Library/LoadLinuxLib.h index 483f8d4b9c..65f5895bfc 100644 --- a/OvmfPkg/Include/Library/LoadLinuxLib.h +++ b/OvmfPkg/Include/Library/LoadLinuxLib.h @@ -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 -