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 /* setup_data types */ 6 #define SETUP_NONE 0 7 #define SETUP_E820_EXT 1 8 #define SETUP_DTB 2 9 #define SETUP_PCI 3 10 #define SETUP_EFI 4 11 #define SETUP_APPLE_PROPERTIES 5 12 #define SETUP_JAILHOUSE 6 13 14 /* ram_size flags */ 15 #define RAMDISK_IMAGE_START_MASK 0x07FF 16 #define RAMDISK_PROMPT_FLAG 0x8000 17 #define RAMDISK_LOAD_FLAG 0x4000 18 19 /* loadflags */ 20 #define LOADED_HIGH (1<<0) 21 #define KASLR_FLAG (1<<1) 22 #define QUIET_FLAG (1<<5) 23 #define KEEP_SEGMENTS (1<<6) 24 #define CAN_USE_HEAP (1<<7) 25 26 /* xloadflags */ 27 #define XLF_KERNEL_64 (1<<0) 28 #define XLF_CAN_BE_LOADED_ABOVE_4G (1<<1) 29 #define XLF_EFI_HANDOVER_32 (1<<2) 30 #define XLF_EFI_HANDOVER_64 (1<<3) 31 #define XLF_EFI_KEXEC (1<<4) 32 33 34 #endif /* _ASM_X86_BOOTPARAM_H */ 35