mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-24 03:06:17 +00:00
thermosphere: add PPI definitions
This commit is contained in:
parent
fe0662a75d
commit
cdf3bc6942
2 changed files with 18 additions and 4 deletions
|
@ -21,7 +21,14 @@
|
||||||
// For both guest and host
|
// For both guest and host
|
||||||
#define MAX_NUM_REGISTERED_INTERRUPTS 512
|
#define MAX_NUM_REGISTERED_INTERRUPTS 512
|
||||||
|
|
||||||
|
#define GIC_IRQID_PMU 23
|
||||||
#define GIC_IRQID_MAINTENANCE 25
|
#define GIC_IRQID_MAINTENANCE 25
|
||||||
|
#define GIC_IRQID_HYP_TIMER 26
|
||||||
|
#define GIC_IRQID_VIRT_TIMER 27
|
||||||
|
//#define GIC_IRQID_LEGACY_NFIQ 28 not defined?
|
||||||
|
#define GIC_IRQID_SEC_PHYS_TIMER 29
|
||||||
|
#define GIC_IRQID_NS_PHYS_TIMER 30
|
||||||
|
//#define GIC_IRQID_LEGACY_NIRQ 31 not defined?
|
||||||
|
|
||||||
static inline void initGicV2Pointers(ArmGicV2 *gic)
|
static inline void initGicV2Pointers(ArmGicV2 *gic)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,6 +22,13 @@
|
||||||
#define MAX_NUM_REGISTERED_INTERRUPTS 512
|
#define MAX_NUM_REGISTERED_INTERRUPTS 512
|
||||||
|
|
||||||
#define GIC_IRQID_MAINTENANCE 25
|
#define GIC_IRQID_MAINTENANCE 25
|
||||||
|
#define GIC_IRQID_HYP_TIMER 26
|
||||||
|
#define GIC_IRQID_VIRT_TIMER 27
|
||||||
|
#define GIC_IRQID_LEGACY_NFIQ 28
|
||||||
|
#define GIC_IRQID_SEC_PHYS_TIMER 29
|
||||||
|
#define GIC_IRQID_NS_PHYS_TIMER 30
|
||||||
|
#define GIC_IRQID_LEGACY_NIRQ 31
|
||||||
|
|
||||||
|
|
||||||
static inline void initGicV2Pointers(ArmGicV2 *gic)
|
static inline void initGicV2Pointers(ArmGicV2 *gic)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue