Improve print in handleSpuriousIRQ

Spend a couple minutes trying to decipher a weird
sip encoding until I realised it was in hex.

Signed-off-by: Ivan-Velickovic <i.velickovic@unsw.edu.au>
This commit is contained in:
Ivan-Velickovic
2025-02-18 00:16:47 +11:00
committed by Ivan Velickovic
parent c674b62a00
commit ddad13cafd

View File

@@ -273,5 +273,5 @@ BOOT_CODE void initIRQController(void)
static inline void handleSpuriousIRQ(void)
{
/* Do nothing */
printf("Superior IRQ!! SIP %lx\n", read_sip());
printf("Spurious IRQ!! SIP 0x%"SEL4_PRIx_word", SIE 0x%"SEL4_PRIx_word"\n", read_sip(), read_sie());
}