3 EXTERN vUARTRxISRHandler
\r
4 EXTERN vUARTTxISRHandler
\r
6 PUBLIC vUARTRxISRWrapper
\r
7 PUBLIC vUARTTxISRWrapper
\r
9 ; Wrappers for the serial port interrupt service routines. These can cause a
\r
10 ; context switch so requires an assembly wrapper.
\r
12 ; Defines the portSAVE_CONTEXT and portRESTORE_CONTEXT macros.
\r
13 #include "ISR_Support.h"
\r
17 portSAVE_CONTEXT ; Save the context of the current task.
\r
19 jarl vUARTRxISRHandler, lp ; Call the ISR routine.
\r
21 portRESTORE_CONTEXT ; Restore the context of the current task -
\r
22 ; which may be different to the task that
\r
27 portSAVE_CONTEXT ; Save the context of the current task.
\r
29 jarl vUARTTxISRHandler, lp ; Call the ISR routine.
\r
31 portRESTORE_CONTEXT ; Restore the context of the current task -
\r
32 ; which may be different to the task that
\r
36 COMMON INTVEC:CODE:ROOT(2)
\r
38 `??vUARTRxISRWrapper??INTVEC 2c0`:
\r
39 JR vUARTRxISRWrapper
\r
41 COMMON INTVEC:CODE:ROOT(2)
\r
43 `??vUARTTxISRWrapper??INTVEC 2d0`:
\r
44 JR vUARTTxISRWrapper
\r