#ifndef __LOAD_LINUX_LIB__\r
#define __LOAD_LINUX_LIB__\r
\r
-\r
/**\r
Verifies that the kernel setup image is valid and supported.\r
The kernel setup image should be checked before using other library\r
EFI_STATUS\r
EFIAPI\r
LoadLinuxCheckKernelSetup (\r
- IN VOID *KernelSetup,\r
- IN UINTN KernelSetupSize\r
+ IN VOID *KernelSetup,\r
+ IN UINTN KernelSetupSize\r
);\r
\r
-\r
/**\r
Gets the initial runtime size of the Linux kernel image by examining\r
the kernel setup image.\r
UINTN\r
EFIAPI\r
LoadLinuxGetKernelSize (\r
- IN VOID *KernelSetup,\r
- IN UINTN KernelSize\r
+ IN VOID *KernelSetup,\r
+ IN UINTN KernelSize\r
);\r
\r
-\r
/**\r
Loads and boots UEFI Linux.\r
\r
IN OUT VOID *KernelSetup\r
);\r
\r
-\r
/**\r
Allocates pages for the kernel setup image.\r
\r
@retval !NULL - The address of the pages allocated\r
\r
**/\r
-VOID*\r
+VOID *\r
EFIAPI\r
LoadLinuxAllocateKernelSetupPages (\r
- IN UINTN Pages\r
+ IN UINTN Pages\r
);\r
\r
-\r
/**\r
Clears the uninitialised space before and after the struct setup_header\r
in the kernel setup image. The kernel requires that these be zeroed\r
EFI_STATUS\r
EFIAPI\r
LoadLinuxInitializeKernelSetup (\r
- IN VOID *KernelSetup\r
+ IN VOID *KernelSetup\r
);\r
\r
/**\r
@retval !NULL - The address of the pages allocated\r
\r
**/\r
-VOID*\r
+VOID *\r
EFIAPI\r
LoadLinuxAllocateKernelPages (\r
- IN VOID *KernelSetup,\r
- IN UINTN Pages\r
+ IN VOID *KernelSetup,\r
+ IN UINTN Pages\r
);\r
\r
-\r
/**\r
Allocates pages for the kernel command line.\r
\r
@retval !NULL - The address of the pages allocated\r
\r
**/\r
-VOID*\r
+VOID *\r
EFIAPI\r
LoadLinuxAllocateCommandLinePages (\r
- IN UINTN Pages\r
+ IN UINTN Pages\r
);\r
\r
-\r
/**\r
Allocates pages for the initrd image.\r
\r
@retval !NULL - The address of the pages allocated\r
\r
**/\r
-VOID*\r
+VOID *\r
EFIAPI\r
LoadLinuxAllocateInitrdPages (\r
- IN VOID *KernelSetup,\r
- IN UINTN Pages\r
+ IN VOID *KernelSetup,\r
+ IN UINTN Pages\r
);\r
\r
-\r
/**\r
Sets the kernel command line parameter within the setup image.\r
\r
EFI_STATUS\r
EFIAPI\r
LoadLinuxSetCommandLine (\r
- IN OUT VOID *KernelSetup,\r
- IN CHAR8 *CommandLine\r
+ IN OUT VOID *KernelSetup,\r
+ IN CHAR8 *CommandLine\r
);\r
\r
-\r
/**\r
Sets the kernel initial ram disk pointer within the setup image.\r
\r
EFI_STATUS\r
EFIAPI\r
LoadLinuxSetInitrd (\r
- IN OUT VOID *KernelSetup,\r
- IN VOID *Initrd,\r
- IN UINTN InitrdSize\r
+ IN OUT VOID *KernelSetup,\r
+ IN VOID *Initrd,\r
+ IN UINTN InitrdSize\r
);\r
\r
-\r
#endif\r
-\r