mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Rename vPortGenerateSimulatedInterruptFromWindowsThread
This commit is contained in:
parent
c570ba9095
commit
a04de0b569
2 changed files with 4 additions and 4 deletions
|
@ -177,7 +177,7 @@ static DWORD WINAPI prvSimulatedPeripheralTimer( LPVOID lpParameter )
|
||||||
Sleep( portTICK_PERIOD_MS );
|
Sleep( portTICK_PERIOD_MS );
|
||||||
}
|
}
|
||||||
|
|
||||||
vPortGenerateSimulatedInterruptFromNative( portINTERRUPT_TICK );
|
vPortGenerateSimulatedInterruptFromWindowsThread( portINTERRUPT_TICK );
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -615,7 +615,7 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber )
|
void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber )
|
||||||
{
|
{
|
||||||
if( xPortRunning == pdTRUE )
|
if( xPortRunning == pdTRUE )
|
||||||
{
|
{
|
||||||
|
|
|
@ -199,9 +199,9 @@ void vPortGenerateSimulatedInterrupt( uint32_t ulInterruptNumber );
|
||||||
* Raise a simulated interrupt represented by the bit mask in ulInterruptMask.
|
* Raise a simulated interrupt represented by the bit mask in ulInterruptMask.
|
||||||
* Each bit can be used to represent an individual interrupt - with the first
|
* Each bit can be used to represent an individual interrupt - with the first
|
||||||
* two bits being used for the Yield and Tick interrupts respectively. This function
|
* two bits being used for the Yield and Tick interrupts respectively. This function
|
||||||
* can be called in a native windows thread.
|
* can be called in a windows thread.
|
||||||
*/
|
*/
|
||||||
void vPortGenerateSimulatedInterruptFromNative( uint32_t ulInterruptNumber );
|
void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumber );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Install an interrupt handler to be called by the simulated interrupt handler
|
* Install an interrupt handler to be called by the simulated interrupt handler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue