1,5 → 1,7 |
/* |
* Copyright (c) 2007 Michal Kebrt |
* Copyright (c) 2007 Petr Stepan |
* |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
37,6 → 39,15 |
|
#include <arch/types.h> |
|
/* Exception Vectors */ |
#define EXC_RESET_VEC 0x0 |
#define EXC_UNDEF_INSTR_VEC 0x4 |
#define EXC_SWI_VEC 0x8 |
#define EXC_PREFETCH_ABORT_VEC 0xc |
#define EXC_DATA_ABORT_VEC 0x10 |
#define EXC_IRQ_VEC 0x18 |
#define EXC_FIQ_VEC 0x1c |
|
typedef struct { |
|
uint32_t cpsr; |
74,6 → 85,10 |
return istate->retaddr; |
} |
|
|
extern void install_exception_handlers(void); |
extern void exception_init(void); |
|
#endif |
|
/** @} |