2019-01-17 15:49:03 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
|
|
#ifndef _ASM_X86_BOOTPARAM_H
|
|
|
|
#define _ASM_X86_BOOTPARAM_H
|
|
|
|
|
2024-04-23 12:46:47 +03:00
|
|
|
#include "standard-headers/asm-x86/setup_data.h"
|
2019-12-19 06:14:44 +03:00
|
|
|
|
2019-01-17 15:49:03 +03:00
|
|
|
/* ram_size flags */
|
|
|
|
#define RAMDISK_IMAGE_START_MASK 0x07FF
|
|
|
|
#define RAMDISK_PROMPT_FLAG 0x8000
|
|
|
|
#define RAMDISK_LOAD_FLAG 0x4000
|
|
|
|
|
|
|
|
/* loadflags */
|
|
|
|
#define LOADED_HIGH (1<<0)
|
|
|
|
#define KASLR_FLAG (1<<1)
|
|
|
|
#define QUIET_FLAG (1<<5)
|
|
|
|
#define KEEP_SEGMENTS (1<<6)
|
|
|
|
#define CAN_USE_HEAP (1<<7)
|
|
|
|
|
|
|
|
/* xloadflags */
|
|
|
|
#define XLF_KERNEL_64 (1<<0)
|
|
|
|
#define XLF_CAN_BE_LOADED_ABOVE_4G (1<<1)
|
|
|
|
#define XLF_EFI_HANDOVER_32 (1<<2)
|
|
|
|
#define XLF_EFI_HANDOVER_64 (1<<3)
|
|
|
|
#define XLF_EFI_KEXEC (1<<4)
|
2019-10-03 18:46:38 +03:00
|
|
|
#define XLF_5LEVEL (1<<5)
|
|
|
|
#define XLF_5LEVEL_ENABLED (1<<6)
|
2024-04-23 12:46:47 +03:00
|
|
|
#define XLF_MEM_ENCRYPTION (1<<7)
|
2019-01-17 15:49:03 +03:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* _ASM_X86_BOOTPARAM_H */
|