1 /* 2 ************************************************************************************************************************ 3 * File : cpu_port.h 4 * By : xyou 5 * Version : V1.00.00 6 ************************************************************************************************************************ 7 */ 8 9 10 11 #ifndef _CPU_PORT_H_ 12 #define _CPU_PORT_H_ 13 14 15 /* 16 ********************************************************************************************************* 17 * CPU INTERRUPT PRIORITY 18 ********************************************************************************************************* 19 */ 20 #define CPU_INTERRUPT_YIELD 0x00 21 #define CPU_INTERRUPT_TICK 0x01 22 23 24 25 /* 26 ********************************************************************************************************* 27 * FUNCTION PROTOTYPES 28 ********************************************************************************************************* 29 */ 30 void TriggerSimulateInterrupt(rt_uint32_t IntIndex); 31 32 void WinThreadScheduler(void); 33 #endif /* _CPU_PORT_H_ */ 34