XenevaOS
Loading...
Searching...
No Matches
qemu.h
Go to the documentation of this file.
1
30#ifndef __QEMU_H__
31#define __QEMU_H__
32
33#ifdef __TARGET_BOARD_QEMU_VIRT__
34
35/* GIC related informations*/
36#define GIC_DIST 0x08000000
37#define GIC_CPU 0x08010000
38#define GIC_V2M 0x08020000
39#define GIC_HYP 0x08030000
40#define GIC_VCPU 0x08040000
41#define GIC_ITS 0x08080000
42#define GIC_REDIST 0x080A0000
43
44#define GPIO 0x09030000
45#define UART0 0x09000000
46#define UART1 0x09040000
47#define RTC 0x09010000
48#define SMMU 0x09050000
49#define VIRT_MMIO 0x0a000000
50#define FW_CFG 0x09020000
51#define PCIE_MMIO 0x10000000
52#define PCIE_PIP 0x3eff0000
53#define PCIE_ECAM 0x3f000000
54
55/* IRQ Mappings to GIC*/
56#define UART0_IRQ 1
57#define RTC_IRQ 2
58#define PCIE_IRQ 3
59#define GPIO_IRQ 7
60#define UART1_IRQ 8
61#define ACPI_GED 9
62
63#define PCIE_ECAM 0x10000000ULL
64#endif
65
66
67/*
68 * AuVirtIOInputInitialize -- initialize virtIO input device
69 */
70extern void AuVirtIOInputInitialize();
71#endif
void AuVirtIOInputInitialize()
AuVirtIOInputInitialize – initialize virtIO input device.
Definition virt.c:60