1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_X86_SETUP_DATA_H 3#define _ASM_X86_SETUP_DATA_H 4 5#include <uapi/asm/setup_data.h> 6 7#ifndef __ASSEMBLY__ 8 9struct pci_setup_rom { 10 struct setup_data data; 11 uint16_t vendor; 12 uint16_t devid; 13 uint64_t pcilen; 14 unsigned long segment; 15 unsigned long bus; 16 unsigned long device; 17 unsigned long function; 18 uint8_t romdata[]; 19}; 20 21/* kexec external ABI */ 22struct efi_setup_data { 23 u64 fw_vendor; 24 u64 __unused; 25 u64 tables; 26 u64 smbios; 27 u64 reserved[8]; 28}; 29 30#endif /* __ASSEMBLY__ */ 31 32#endif /* _ASM_X86_SETUP_DATA_H */ 33