]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/Protocol/OvmfLoadedX86LinuxKernel.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / Include / Protocol / OvmfLoadedX86LinuxKernel.h
1 /** @file
2 Protocol/GUID definition to describe a x86 Linux kernel image loaded
3 into memory.
4
5 Note that this protocol is considered internal ABI, and may be change
6 structure at any time without regard for backward compatibility.
7
8 Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>
9
10 SPDX-License-Identifier: BSD-2-Clause-Patent
11 **/
12
13 #ifndef OVMF_LOADED_X86_LINUX_KERNEL_H__
14 #define OVMF_LOADED_X86_LINUX_KERNEL_H__
15
16 #define OVMF_LOADED_X86_LINUX_KERNEL_PROTOCOL_GUID \
17 {0xa3edc05d, 0xb618, 0x4ff6, {0x95, 0x52, 0x76, 0xd7, 0x88, 0x63, 0x43, 0xc8}}
18
19 typedef struct {
20 VOID *SetupBuf;
21 VOID *KernelBuf;
22 CHAR8 *CommandLine;
23 VOID *InitrdData;
24 UINTN SetupSize;
25 UINTN KernelInitialSize;
26 UINTN InitrdSize;
27 UINTN CommandLineSize;
28 } OVMF_LOADED_X86_LINUX_KERNEL;
29
30 extern EFI_GUID gOvmfLoadedX86LinuxKernelProtocolGuid;
31
32 #endif