add libcpu/sim/win32 to support the win32 bsp (compiled by visual studio)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2359 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com
2012-10-21 04:46:24 +00:00
parent 806ecbbb2b
commit 20352571e2
2 changed files with 691 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+33
View 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_ */