thermosphere: vgic: fix OOB accesses, fix icfgr and itargetsr handling

qemu actually allows SPIs to use the N-N model
This commit is contained in:
TuxSH
2020-01-05 00:33:35 +00:00
parent 81a3b4fff5
commit 7d30fce54c
4 changed files with 62 additions and 49 deletions

View File

@@ -25,7 +25,7 @@ typedef struct CoreCtx {
u8 *crashStack; // @0x10
u64 scratch; // @0x18
u32 coreId; // @0x20
u8 gicInterfaceId; // @0x24
u8 gicInterfaceMask; // @0x24
bool isBootCore; // @0x25
bool warmboot; // @0x26