xref: /openbmc/linux/arch/m68k/include/asm/virt.h (revision 6562c9ac)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_VIRT_H
3 #define __ASM_VIRT_H
4 
5 #define NUM_VIRT_SOURCES 200
6 
7 struct virt_booter_device_data {
8 	u32 mmio;
9 	u32 irq;
10 };
11 
12 struct virt_booter_data {
13 	u32 qemu_version;
14 	struct virt_booter_device_data pic;
15 	struct virt_booter_device_data rtc;
16 	struct virt_booter_device_data tty;
17 	struct virt_booter_device_data ctrl;
18 	struct virt_booter_device_data virtio;
19 };
20 
21 extern struct virt_booter_data virt_bi_data;
22 
23 extern void __init virt_init_IRQ(void);
24 
25 #endif
26