1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_X86_BOOTPARAM_H
3 #define _ASM_X86_BOOTPARAM_H
4 
5 #include "standard-headers/asm-x86/setup_data.h"
6 
7 /* ram_size flags */
8 #define RAMDISK_IMAGE_START_MASK	0x07FF
9 #define RAMDISK_PROMPT_FLAG		0x8000
10 #define RAMDISK_LOAD_FLAG		0x4000
11 
12 /* loadflags */
13 #define LOADED_HIGH	(1<<0)
14 #define KASLR_FLAG	(1<<1)
15 #define QUIET_FLAG	(1<<5)
16 #define KEEP_SEGMENTS	(1<<6)
17 #define CAN_USE_HEAP	(1<<7)
18 
19 /* xloadflags */
20 #define XLF_KERNEL_64			(1<<0)
21 #define XLF_CAN_BE_LOADED_ABOVE_4G	(1<<1)
22 #define XLF_EFI_HANDOVER_32		(1<<2)
23 #define XLF_EFI_HANDOVER_64		(1<<3)
24 #define XLF_EFI_KEXEC			(1<<4)
25 #define XLF_5LEVEL			(1<<5)
26 #define XLF_5LEVEL_ENABLED		(1<<6)
27 #define XLF_MEM_ENCRYPTION		(1<<7)
28 
29 
30 #endif /* _ASM_X86_BOOTPARAM_H */
31