khypervisor
v1
|
Go to the source code of this file.
Defines | |
#define | GIC_OFFSET_GICD 0x1000 |
#define | GIC_OFFSET_GICC 0x2000 |
#define | GIC_OFFSET_GICH 0x4000 |
#define | GIC_OFFSET_GICV 0x5000 |
#define | GIC_OFFSET_GICVI 0x6000 |
#define | GICD_CTLR 0x000 |
#define | GICD_TYPER (0x004/4) |
#define | GICD_IIDR (0x008/4) |
#define | GICD_IGROUPR (0x080/4) |
#define | GICD_ISENABLER (0x100/4) |
#define | GICD_ICENABLER (0x180/4) |
#define | GICD_ISPENDR (0x200/4) |
#define | GICD_ICPENDR (0x280/4) |
#define | GICD_IPRIORITYR (0x400/4) |
#define | GICD_ITARGETSR (0x800/4) |
#define | GICD_ICFGR (0xC00/4) |
#define | GICC_CTLR (0x0000/4) |
#define | GICC_PMR (0x0004/4) |
#define | GICC_BPR (0x0008/4) |
#define | GICC_IAR (0x000C/4) |
#define | GICC_EOIR (0x0010/4) |
#define | GICC_DIR (0x1000/4) |
#define | GICH_HCR (0x00/4) |
#define | GICH_VTR (0x04/4) |
#define | GICH_VMCR (0x08/4) |
#define | GICH_MISR (0x10/4) |
#define | GICH_EISR0 (0x20/4) |
#define | GICH_EISR1 (0x24/4) |
#define | GICH_ELSR0 (0x30/4) |
#define | GICH_ELSR1 (0x34/4) |
#define | GICH_APR (0xF0/4) |
#define | GICH_LR (0x100/4) /* LR0 ~ LRn, n:GICH_VTR.ListRegs */ |
#define | GICD_CTLR_ENABLE 0x1 |
#define | GICD_TYPE_LINES_MASK 0x01f |
#define | GICD_TYPE_CPUS_MASK 0x0e0 |
#define | GICD_TYPE_CPUS_SHIFT 5 |
#define | GICC_CTL_ENABLE 0x1 |
#define | GICC_CTL_EOI (0x1 << 9) |
#define | GICC_IAR_INTID_MASK 0x03ff |
#define | GICH_HCR_EN 0x1 |
#define | GICH_HCR_NPIE (0x1 << 3) |
#define | GICH_HCR_LRENPIE (0x1 << 2) |
#define | GICH_HCR_UIE (0x1 << 1) |
#define | GICH_VTR_PRIBITS_SHIFT 29 |
#define | GICH_VTR_PRIBITS_MASK (0x7 << GICH_VTR_PRIVITS_SHIFT) |
#define | GICH_VTR_PREBITS_SHIFT 26 |
#define | GICH_VTR_PREBITS_MASK (0x7 << GICH_VTR_PREVITS_SHIFT) |
#define | GICH_VTR_LISTREGS_MASK 0x3f |
#define | GICH_LR_VIRTUALID_SHIFT 0 |
#define | GICH_LR_VIRTUALID_MASK (0x3ff << GICH_LR_VIRTUALID_SHIFT) |
#define | GICH_LR_PHYSICALID_SHIFT 10 |
#define | GICH_LR_PHYSICALID_MASK (0x3ff << GICH_LR_PHYSICALID_SHIFT) |
#define | GICH_LR_CPUID_SHIFT 10 |
#define | GICH_LR_CPUID_MASK (0x7 << GICH_LR_CPUID_SHIFT) |
#define | GICH_LR_EOI_SHIFT 19 |
#define | GICH_LR_EOI_MASK (0x1 << GICH_LR_EOI_SHIFT) |
#define | GICH_LR_EOI (0x1 << GICH_LR_EOI_SHIFT) |
#define | GICH_LR_PRIORITY_SHIFT 23 |
#define | GICH_LR_PRIORITY_MASK (0x1f << GICH_LR_PRIORITY_SHIFT) |
#define | GICH_LR_STATE_SHIFT 28 |
#define | GICH_LR_STATE_MASK (0x3 << GICH_LR_STATE_SHIFT) |
#define | GICH_LR_STATE_INACTIVE ( 0x0 << GICH_LR_STATE_SHIFT ) |
#define | GICH_LR_STATE_PENDING ( 0x1 << GICH_LR_STATE_SHIFT ) |
#define | GICH_LR_STATE_ACTIVE ( 0x2 << GICH_LR_STATE_SHIFT ) |
#define | GICH_LR_STATE_PENDING_ACTIVE ( 0x3 << GICH_LR_STATE_SHIFT ) |
#define | GICH_LR_GRP1_SHIFT 30 |
#define | GICH_LR_GRP1_MASK (0x1 << GICH_LR_GRP1_SHIFT) |
#define | GICH_LR_GRP1 (0x1 << GICH_LR_GRP1_SHIFT) |
#define | GICH_LR_HW_SHIFT 31 |
#define | GICH_LR_HW_MASK (0x1 << GICH_LR_HW_SHIFT) |
#define | GICH_LR_HW (0x1 << GICH_LR_HW_SHIFT) |
#define | GICH_MISR_EOI (1) |
#define | GICH_MISR_U_SHIFT (1) |
#define | GICH_MISR_U (1 << GICH_MISR_U_SHIFT) |
#define | GICH_MISR_NP_SHIFT (3) |
#define | GICH_MISR_NP (1 << GICH_MISR_NP_SHIFT) |
#define GIC_OFFSET_GICC 0x2000 |
Definition at line 6 of file gic_regs.h.
#define GIC_OFFSET_GICD 0x1000 |
Definition at line 5 of file gic_regs.h.
#define GIC_OFFSET_GICH 0x4000 |
Definition at line 7 of file gic_regs.h.
#define GIC_OFFSET_GICV 0x5000 |
Definition at line 8 of file gic_regs.h.
#define GIC_OFFSET_GICVI 0x6000 |
Definition at line 9 of file gic_regs.h.
#define GICC_BPR (0x0008/4) |
Definition at line 27 of file gic_regs.h.
#define GICC_CTL_ENABLE 0x1 |
Definition at line 52 of file gic_regs.h.
#define GICC_CTL_EOI (0x1 << 9) |
Definition at line 53 of file gic_regs.h.
#define GICC_CTLR (0x0000/4) |
Definition at line 25 of file gic_regs.h.
#define GICC_DIR (0x1000/4) |
Definition at line 30 of file gic_regs.h.
#define GICC_EOIR (0x0010/4) |
Definition at line 29 of file gic_regs.h.
#define GICC_IAR (0x000C/4) |
Definition at line 28 of file gic_regs.h.
#define GICC_IAR_INTID_MASK 0x03ff |
Definition at line 54 of file gic_regs.h.
#define GICC_PMR (0x0004/4) |
Definition at line 26 of file gic_regs.h.
#define GICD_CTLR 0x000 |
Definition at line 12 of file gic_regs.h.
#define GICD_CTLR_ENABLE 0x1 |
Definition at line 46 of file gic_regs.h.
#define GICD_ICENABLER (0x180/4) |
Definition at line 17 of file gic_regs.h.
#define GICD_ICFGR (0xC00/4) |
Definition at line 22 of file gic_regs.h.
#define GICD_ICPENDR (0x280/4) |
Definition at line 19 of file gic_regs.h.
#define GICD_IGROUPR (0x080/4) |
Definition at line 15 of file gic_regs.h.
#define GICD_IIDR (0x008/4) |
Definition at line 14 of file gic_regs.h.
#define GICD_IPRIORITYR (0x400/4) |
Definition at line 20 of file gic_regs.h.
#define GICD_ISENABLER (0x100/4) |
Definition at line 16 of file gic_regs.h.
#define GICD_ISPENDR (0x200/4) |
Definition at line 18 of file gic_regs.h.
#define GICD_ITARGETSR (0x800/4) |
Definition at line 21 of file gic_regs.h.
#define GICD_TYPE_CPUS_MASK 0x0e0 |
Definition at line 48 of file gic_regs.h.
#define GICD_TYPE_CPUS_SHIFT 5 |
Definition at line 49 of file gic_regs.h.
#define GICD_TYPE_LINES_MASK 0x01f |
Definition at line 47 of file gic_regs.h.
#define GICD_TYPER (0x004/4) |
Definition at line 13 of file gic_regs.h.
#define GICH_APR (0xF0/4) |
Definition at line 41 of file gic_regs.h.
#define GICH_EISR0 (0x20/4) |
Definition at line 37 of file gic_regs.h.
#define GICH_EISR1 (0x24/4) |
Definition at line 38 of file gic_regs.h.
#define GICH_ELSR0 (0x30/4) |
Definition at line 39 of file gic_regs.h.
#define GICH_ELSR1 (0x34/4) |
Definition at line 40 of file gic_regs.h.
#define GICH_HCR (0x00/4) |
Definition at line 33 of file gic_regs.h.
#define GICH_HCR_EN 0x1 |
Definition at line 57 of file gic_regs.h.
#define GICH_HCR_LRENPIE (0x1 << 2) |
Definition at line 59 of file gic_regs.h.
#define GICH_HCR_NPIE (0x1 << 3) |
Definition at line 58 of file gic_regs.h.
#define GICH_HCR_UIE (0x1 << 1) |
Definition at line 60 of file gic_regs.h.
#define GICH_LR (0x100/4) /* LR0 ~ LRn, n:GICH_VTR.ListRegs */ |
Definition at line 42 of file gic_regs.h.
#define GICH_LR_CPUID_MASK (0x7 << GICH_LR_CPUID_SHIFT) |
Definition at line 73 of file gic_regs.h.
#define GICH_LR_CPUID_SHIFT 10 |
Definition at line 72 of file gic_regs.h.
#define GICH_LR_EOI (0x1 << GICH_LR_EOI_SHIFT) |
Definition at line 76 of file gic_regs.h.
#define GICH_LR_EOI_MASK (0x1 << GICH_LR_EOI_SHIFT) |
Definition at line 75 of file gic_regs.h.
#define GICH_LR_EOI_SHIFT 19 |
Definition at line 74 of file gic_regs.h.
#define GICH_LR_GRP1 (0x1 << GICH_LR_GRP1_SHIFT) |
Definition at line 87 of file gic_regs.h.
#define GICH_LR_GRP1_MASK (0x1 << GICH_LR_GRP1_SHIFT) |
Definition at line 86 of file gic_regs.h.
#define GICH_LR_GRP1_SHIFT 30 |
Definition at line 85 of file gic_regs.h.
#define GICH_LR_HW (0x1 << GICH_LR_HW_SHIFT) |
Definition at line 90 of file gic_regs.h.
#define GICH_LR_HW_MASK (0x1 << GICH_LR_HW_SHIFT) |
Definition at line 89 of file gic_regs.h.
#define GICH_LR_HW_SHIFT 31 |
Definition at line 88 of file gic_regs.h.
#define GICH_LR_PHYSICALID_MASK (0x3ff << GICH_LR_PHYSICALID_SHIFT) |
Definition at line 71 of file gic_regs.h.
#define GICH_LR_PHYSICALID_SHIFT 10 |
Definition at line 70 of file gic_regs.h.
#define GICH_LR_PRIORITY_MASK (0x1f << GICH_LR_PRIORITY_SHIFT) |
Definition at line 78 of file gic_regs.h.
#define GICH_LR_PRIORITY_SHIFT 23 |
Definition at line 77 of file gic_regs.h.
#define GICH_LR_STATE_ACTIVE ( 0x2 << GICH_LR_STATE_SHIFT ) |
Definition at line 83 of file gic_regs.h.
#define GICH_LR_STATE_INACTIVE ( 0x0 << GICH_LR_STATE_SHIFT ) |
Definition at line 81 of file gic_regs.h.
#define GICH_LR_STATE_MASK (0x3 << GICH_LR_STATE_SHIFT) |
Definition at line 80 of file gic_regs.h.
#define GICH_LR_STATE_PENDING ( 0x1 << GICH_LR_STATE_SHIFT ) |
Definition at line 82 of file gic_regs.h.
#define GICH_LR_STATE_PENDING_ACTIVE ( 0x3 << GICH_LR_STATE_SHIFT ) |
Definition at line 84 of file gic_regs.h.
#define GICH_LR_STATE_SHIFT 28 |
Definition at line 79 of file gic_regs.h.
#define GICH_LR_VIRTUALID_MASK (0x3ff << GICH_LR_VIRTUALID_SHIFT) |
Definition at line 69 of file gic_regs.h.
#define GICH_LR_VIRTUALID_SHIFT 0 |
Definition at line 68 of file gic_regs.h.
#define GICH_MISR (0x10/4) |
Definition at line 36 of file gic_regs.h.
#define GICH_MISR_EOI (1) |
Definition at line 92 of file gic_regs.h.
#define GICH_MISR_NP (1 << GICH_MISR_NP_SHIFT) |
Definition at line 96 of file gic_regs.h.
#define GICH_MISR_NP_SHIFT (3) |
Definition at line 95 of file gic_regs.h.
#define GICH_MISR_U (1 << GICH_MISR_U_SHIFT) |
Definition at line 94 of file gic_regs.h.
#define GICH_MISR_U_SHIFT (1) |
Definition at line 93 of file gic_regs.h.
#define GICH_VMCR (0x08/4) |
Definition at line 35 of file gic_regs.h.
#define GICH_VTR (0x04/4) |
Definition at line 34 of file gic_regs.h.
#define GICH_VTR_LISTREGS_MASK 0x3f |
Definition at line 65 of file gic_regs.h.
#define GICH_VTR_PREBITS_MASK (0x7 << GICH_VTR_PREVITS_SHIFT) |
Definition at line 64 of file gic_regs.h.
#define GICH_VTR_PREBITS_SHIFT 26 |
Definition at line 63 of file gic_regs.h.
#define GICH_VTR_PRIBITS_MASK (0x7 << GICH_VTR_PRIVITS_SHIFT) |
Definition at line 62 of file gic_regs.h.
#define GICH_VTR_PRIBITS_SHIFT 29 |
Definition at line 61 of file gic_regs.h.