virt.h 502 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_VIRT_H
  3. #define __ASM_VIRT_H
  4. #define NUM_VIRT_SOURCES 200
  5. struct virt_booter_device_data {
  6. u32 mmio;
  7. u32 irq;
  8. };
  9. struct virt_booter_data {
  10. u32 qemu_version;
  11. struct virt_booter_device_data pic;
  12. struct virt_booter_device_data rtc;
  13. struct virt_booter_device_data tty;
  14. struct virt_booter_device_data ctrl;
  15. struct virt_booter_device_data virtio;
  16. };
  17. extern struct virt_booter_data virt_bi_data;
  18. extern void __init virt_init_IRQ(void);
  19. #endif