summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/setup_data.h
blob: 77c51111a89394c7dffecb3086f341a4c0635a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_SETUP_DATA_H
#define _ASM_X86_SETUP_DATA_H

#include <uapi/asm/setup_data.h>

#ifndef __ASSEMBLY__

struct pci_setup_rom {
	struct setup_data data;
	uint16_t vendor;
	uint16_t devid;
	uint64_t pcilen;
	unsigned long segment;
	unsigned long bus;
	unsigned long device;
	unsigned long function;
	uint8_t romdata[];
};

/* kexec external ABI */
struct efi_setup_data {
	u64 fw_vendor;
	u64 __unused;
	u64 tables;
	u64 smbios;
	u64 reserved[8];
};

#endif /* __ASSEMBLY__ */

#endif /* _ASM_X86_SETUP_DATA_H */