set interrupt handler to its own section

This commit is contained in:
Corwin 2023-10-18 00:17:24 +01:00
parent 48b9eb3775
commit 41e192eff2
No known key found for this signature in database

View file

@ -2,7 +2,7 @@
@ An interrupt handler that simply acknowledges all interrupts
.arm
.global InterruptHandler
.section .iwram, "ax", %progbits
.section .iwram.interrupt_handler, "ax", %progbits
.align
InterruptHandler:
mov r2, #0x04000000 @ interrupt enable register location