Keil-Toolchain files
--------------------------------------------------

+---resource
    +---SAM7.s


updates for use by pC/OS
--------------------------------------------------

* in "SAM7.s" 
  (the original Vector-calls from AIC_IVR and the 
   ISR-entries "IRQ_Handler" and "FIQ_Handler" from 
   Keil are not needed and incompatible)

    IMPORT OSirqISR
    IMPORT OSfiqISR


Vectors         ...
                ...
                LDR     PC,IRQ_Addr            ; for pC/OS
                LDR     PC,FIQ_Addr            ; for pC/OS

...
...
IRQ_Addr        DCD     OSirqISR               ; use pC/OS handler
FIQ_Addr        DCD     OSfiqISR               ; use pC/OS handler


...
;  Enter User Mode and set its Stack Pointer (disabled to stay in SVC-mode)
;               MSR     CPSR_c, #Mode_USR
;               MOV     SP, R0
;               SUB     SL, SP, #USR_Stack_Size

;  Enter the C code
...