mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-10 21:34:19 -04:00
Changed the way the ARM7/9 GCC ports enter interrupts that can cause a context switch.
This commit is contained in:
parent
c54ec1c639
commit
ada7fa862d
24 changed files with 322 additions and 275 deletions
|
@ -115,7 +115,7 @@ void vuIP_Task( void *pvParameters )
|
|||
portBASE_TYPE i;
|
||||
uip_ipaddr_t xIPAddr;
|
||||
struct timer periodic_timer, arp_timer;
|
||||
extern void ( vEMAC_ISR )( void );
|
||||
extern void ( vEMAC_ISR_Wrapper )( void );
|
||||
|
||||
/* Create the semaphore used by the ISR to wake this task. */
|
||||
vSemaphoreCreateBinary( xEMACSemaphore );
|
||||
|
@ -138,7 +138,7 @@ extern void ( vEMAC_ISR )( void );
|
|||
{
|
||||
IntEnable = INT_RX_DONE;
|
||||
VICIntEnable |= 0x00200000;
|
||||
VICVectAddr21 = ( portLONG ) vEMAC_ISR;
|
||||
VICVectAddr21 = ( portLONG ) vEMAC_ISR_Wrapper;
|
||||
prvSetMACAddress();
|
||||
}
|
||||
portEXIT_CRITICAL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue