kern: move spendsgir static assert

This commit is contained in:
Michael Scire
2025-05-28 12:18:51 -07:00
parent ae65b5df0c
commit f4e1d0bf9f
2 changed files with 1 additions and 2 deletions

View File

@@ -118,6 +118,7 @@ namespace ams::kern::arch::arm {
u32 icfgr[NumLocalInterrupts / 16];
u32 spendsgir[4];
};
static_assert(sizeof(LocalState{}.spendsgir) == sizeof(GicDistributor{}.spendsgir));
struct GlobalState {
u32 isenabler[NumGlobalInterrupts / 32];