cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

bootparam.h (1047B)


      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/setup_indirect 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#define SETUP_INDIRECT			(1<<31)
     15
     16/* SETUP_INDIRECT | max(SETUP_*) */
     17#define SETUP_TYPE_MAX			(SETUP_INDIRECT | SETUP_JAILHOUSE)
     18
     19/* ram_size flags */
     20#define RAMDISK_IMAGE_START_MASK	0x07FF
     21#define RAMDISK_PROMPT_FLAG		0x8000
     22#define RAMDISK_LOAD_FLAG		0x4000
     23
     24/* loadflags */
     25#define LOADED_HIGH	(1<<0)
     26#define KASLR_FLAG	(1<<1)
     27#define QUIET_FLAG	(1<<5)
     28#define KEEP_SEGMENTS	(1<<6)
     29#define CAN_USE_HEAP	(1<<7)
     30
     31/* xloadflags */
     32#define XLF_KERNEL_64			(1<<0)
     33#define XLF_CAN_BE_LOADED_ABOVE_4G	(1<<1)
     34#define XLF_EFI_HANDOVER_32		(1<<2)
     35#define XLF_EFI_HANDOVER_64		(1<<3)
     36#define XLF_EFI_KEXEC			(1<<4)
     37#define XLF_5LEVEL			(1<<5)
     38#define XLF_5LEVEL_ENABLED		(1<<6)
     39
     40
     41#endif /* _ASM_X86_BOOTPARAM_H */