Eventually I want the kernel to be loaded from the SD card as well, but it still needs to separate from user programs. At some point there should be a folder just for the BIOS, which should read from the boot block of the SD card and start executing, and thats it.
14 lines
391 B
ArmAsm
14 lines
391 B
ArmAsm
; ---------------------------------------------------------------------------
|
|
; vectors.s
|
|
; ---------------------------------------------------------------------------
|
|
;
|
|
; Defines the interrupt vector table.
|
|
|
|
.import _init
|
|
.import _nmi_int, _irq_int
|
|
|
|
.segment "VECTORS"
|
|
|
|
.addr _nmi_int ; NMI vector
|
|
.addr _init ; Reset vector
|
|
.addr _irq_int ; IRQ/BRK vector
|