mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 20:03:50 -04:00
Continue work on RX600 port - work in progress.
This commit is contained in:
parent
6052827afe
commit
21898cc9d9
2 changed files with 98 additions and 20 deletions
|
@ -59,6 +59,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Hardware specifics. */
|
||||
#include "machine.h"
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* Port specific definitions.
|
||||
*
|
||||
|
@ -106,8 +109,9 @@ extern void vTaskSwitchContext( void );
|
|||
* These macros should be called directly, but through the taskENTER_CRITICAL()
|
||||
* and taskEXIT_CRITICAL() macros.
|
||||
*/
|
||||
#define portENABLE_INTERRUPTS()
|
||||
#define portDISABLE_INTERRUPTS()
|
||||
extern unsigned char ucIPLToRestore;
|
||||
#define portENABLE_INTERRUPTS() set_ipl( ucIPLToRestore )
|
||||
#define portDISABLE_INTERRUPTS() vPortSetInterruptMask()
|
||||
|
||||
/* Critical nesting counts are stored in the TCB. */
|
||||
#define portCRITICAL_NESTING_IN_TCB ( 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue