初始提交
This commit is contained in:
33
Project/Src/rt-thread/libcpu/sim/win32/cpu_port.h
Normal file
33
Project/Src/rt-thread/libcpu/sim/win32/cpu_port.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
************************************************************************************************************************
|
||||
* File : cpu_port.h
|
||||
* By : xyou
|
||||
* Version : V1.00.00
|
||||
************************************************************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef _CPU_PORT_H_
|
||||
#define _CPU_PORT_H_
|
||||
|
||||
|
||||
/*
|
||||
*********************************************************************************************************
|
||||
* CPU INTERRUPT PRIORITY
|
||||
*********************************************************************************************************
|
||||
*/
|
||||
#define CPU_INTERRUPT_YIELD 0x00
|
||||
#define CPU_INTERRUPT_TICK 0x01
|
||||
|
||||
|
||||
|
||||
/*
|
||||
*********************************************************************************************************
|
||||
* FUNCTION PROTOTYPES
|
||||
*********************************************************************************************************
|
||||
*/
|
||||
void TriggerSimulateInterrupt(rt_uint32_t IntIndex);
|
||||
|
||||
void WinThreadScheduler(void);
|
||||
#endif /* _CPU_PORT_H_ */
|
||||
Reference in New Issue
Block a user