summaryrefslogtreecommitdiff
path: root/libcpu/sim/win32/cpu_port.h
blob: 8ab8ae23bd872fc9b1f5f5a49383ba2ff66a961e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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_ */