minix/kernel/arch/earm/exc.S
Lionel Sambuc b1c4ba4ab6 ARM updates
Due to the ABI we are using we have to use the earm architecture
moniker for the build system to behave correctly. This involves
then some headers to move around.

There is also a few related Makefile updates as well as minor
source code corrections.
2013-01-17 10:03:58 +01:00

22 lines
653 B
ArmAsm

#include <machine/asm.h>
IMPORT(undefined_inst_entry)
IMPORT(svc_entry)
IMPORT(prefetch_abort_entry)
IMPORT(data_abort_entry)
IMPORT(irq_entry)
.text
.balign 4096
LABEL(exc_vector_table)
ldr pc, =invalid_exc /* Reset */
ldr pc, =undefined_inst_entry /* Undefined Instruction */
ldr pc, =svc_entry /* Supervisor Call */
ldr pc, =prefetch_abort_entry /* Prefetch Abort */
ldr pc, =data_abort_entry /* Data Abort */
ldr pc, =invalid_exc /* Hypervisor Call */
ldr pc, =irq_entry /* Interrupt */
ldr pc, =invalid_exc /* Fast Interrupt */
ENTRY(invalid_exc)
b .