Mercurial > flash_v2
diff packages/hal/arm/arch/current/src/vectors.S @ 34:29bc183297e1 ecos-sw-1999-09-02
Merge from eCos master repository on 1999-09-02-16:26:10-BST
| author | jlarmour |
|---|---|
| date | Thu, 02 Sep 1999 16:11:22 +0000 |
| parents | 18ee5a9c102e |
| children | e97d78785e2d |
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/src/vectors.S +++ b/packages/hal/arm/arch/current/src/vectors.S @@ -568,6 +568,8 @@ 10: ldr r1,[r1,v1,lsl #2] // handler data ldr r2,.hal_interrupt_handlers ldr v3,[r2,v1,lsl #2] // handler (indexed by vector #) + mov r2,v6 // register frame (this is necessary + // for the ISR too, for ^C detection) mov lr,pc // invoke handler (call indirect mov pc,v3 // thru v3) @@ -656,18 +658,19 @@ hal_interrupt_stack_call_pending_DSRs: #endif // CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK -// Dummy functions +// Dummy/support functions .global __gccmain + .global _psr + .global _sp + __gccmain: mov pc,lr - .global _psr _psr: mrs r0,cpsr mov pc,lr - .global _sp _sp: mov r0,sp mov pc,lr
