diff --git a/bsp/upd70f3454/Debug/Obj/CG_main.r85 b/bsp/upd70f3454/Debug/Obj/CG_main.r85 deleted file mode 100644 index 1764cb9b8..000000000 Binary files a/bsp/upd70f3454/Debug/Obj/CG_main.r85 and /dev/null differ diff --git a/bsp/upd70f3454/Debug/Obj/CG_serial.r85 b/bsp/upd70f3454/Debug/Obj/CG_serial.r85 deleted file mode 100644 index 62d0ec7fe..000000000 Binary files a/bsp/upd70f3454/Debug/Obj/CG_serial.r85 and /dev/null differ diff --git a/bsp/upd70f3454/Debug/Obj/CG_serial_user.r85 b/bsp/upd70f3454/Debug/Obj/CG_serial_user.r85 deleted file mode 100644 index 8da1da36c..000000000 Binary files a/bsp/upd70f3454/Debug/Obj/CG_serial_user.r85 and /dev/null differ diff --git a/bsp/upd70f3454/Debug/Obj/upd70f3454.pbd b/bsp/upd70f3454/Debug/Obj/upd70f3454.pbd deleted file mode 100644 index b759a07ea..000000000 --- a/bsp/upd70f3454/Debug/Obj/upd70f3454.pbd +++ /dev/null @@ -1,43 +0,0 @@ -This is an internal working file generated by the Source Browser. -10:24 01s -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_port.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_port_user.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_system.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_system_user.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_systeminit.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_timer.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\CG_timer_user.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\application.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\board.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\clock.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\cmd.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\device.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_compiler.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_error.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_heap.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_init.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_node.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_ops.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_parser.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_token.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_var.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\finsh_vm.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\idle.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\interrupt.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\ipc.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\irq.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\kservice.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\mem.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\mempool.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\module.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\object.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\rtm.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\scheduler.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\shell.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\slab.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\stack.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\startup.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\symbol.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\thread.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\timer.pbi -E:\RTT\RTTV850\rt-thread\bsp\upd70f3454\Debug\Obj\uart.pbi diff --git a/bsp/upd70f3454/settings/upd70f3454.cspy.bat b/bsp/upd70f3454/settings/upd70f3454.cspy.bat deleted file mode 100644 index d3e9c63e4..000000000 --- a/bsp/upd70f3454/settings/upd70f3454.cspy.bat +++ /dev/null @@ -1,33 +0,0 @@ -@REM This bat file has been generated by the IAR Embeddded Workbench -@REM C-SPY interactive debugger,as an aid to preparing a command -@REM line for running the cspybat command line utility with the -@REM appropriate settings. -@REM -@REM After making some adjustments to this file, you can launch cspybat -@REM by typing the name of this file followed by the name of the debug -@REM file (usually an ubrof file). Note that this file is generated -@REM every time a new debug session is initialized, so you may want to -@REM move or rename the file before making changes. -@REM -@REM Note: some command line arguments cannot be properly generated -@REM by this process. Specifically, the plugin which is responsible -@REM for the Terminal I/O window (and other C runtime functionality) -@REM comes in a special version for cspybat, and the name of that -@REM plugin dll is not known when generating this file. It resides in -@REM the $TOOLKIT_DIR$\bin folder and is usually called XXXbat.dll or -@REM XXXlibsupportbat.dll, where XXX is the name of the corresponding -@REM tool chain. Replace the '' parameter -@REM below with the appropriate file name. Other plugins loaded by -@REM C-SPY are usually not needed by, or will not work in, cspybat -@REM but they are listed at the end of this file for reference. - - -"C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\common\bin\cspybat" "C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\v850\bin\v850proc.dll" "C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\v850\bin\v850minicube2.dll" %1 --plugin "C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\v850\bin\" --backend -B "-v10" "-p" "C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\v850\CONFIG\DDF\io70f3454.ddf" "-d" "minicube2" - - -@REM Loaded plugins: -@REM v850LibSupport.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\common\plugins\CodeCoverage\CodeCoverage.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\common\plugins\Profiling\Profiling.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\common\plugins\stack\stack.dll -@REM C:\Program Files\IAR Systems\Embedded Workbench 5.4 Evaluation\common\plugins\SymList\SymList.dll diff --git a/bsp/upd70f3454/settings/upd70f3454.dbgdt b/bsp/upd70f3454/settings/upd70f3454.dbgdt deleted file mode 100644 index e5162bc33..000000000 --- a/bsp/upd70f3454/settings/upd70f3454.dbgdt +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - 201381 - - 20 - 1035 - 276 - 69 - - - - - - - - 191272727 - - - 1 - 0 - 0 - - 4 - 254 - 143 - - - - 200 - - - - - - - TabID-7492-12225 - Debug Log - Debug-Log - - - - TabID-6969-12235 - Build - Build - - - - - 0 - - - TabID-18240-12229 - Workspace - Workspace - - - upd70f3454upd70f3454/libcpu - - - - 0 - - - - - - TextEditorE:\RTT\RTTV850\rt-thread\bsp\upd70f3454\applilet3_src\CG_systeminit.c06923422352TextEditorE:\RTT\RTTV850\rt-thread\bsp\upd70f3454\applilet3_src\CG_system.c05923292329TextEditorE:\RTT\RTTV850\rt-thread\bsp\upd70f3454\io70f3454.h05172739627456TextEditorE:\RTT\RTTV850\rt-thread\bsp\upd70f3454\cstartup.s850973377337730100000010000001 - - - - - - - iaridepm.enu1debuggergui.enu1v850minicube21-2-2472265-2-22749334319092361419315185417579462-2-22531442-2-21444255100277831173619092361419315 - - - - diff --git a/bsp/upd70f3454/settings/upd70f3454.dni b/bsp/upd70f3454/settings/upd70f3454.dni deleted file mode 100644 index 0bd8f532e..000000000 --- a/bsp/upd70f3454/settings/upd70f3454.dni +++ /dev/null @@ -1,124 +0,0 @@ -[Interrupts] -Enabled=1 -[MemoryMap] -Enabled=0 -Base=0 -UseAuto=0 -TypeViolation=1 -UnspecRange=1 -ActionState=1 -[DataAlign] -Action=1 -Notification=1 -[DebugChecksum] -Checksum=576357238 -[DisAssemblyWindow] -NumStates=_ 1 -State 1=_ 1 -[InstructionProfiling] -Enabled=_ 0 -[CodeCoverage] -Enabled=_ 0 -[Profiling] -Enabled=0 -[StackPlugin] -Enabled=1 -OverflowWarningsEnabled=1 -WarningThreshold=90 -SpWarningsEnabled=1 -WarnHow=0 -UseTrigger=1 -TriggerName=main -LimitSize=0 -ByteLimit=50 -[MINICUBE2] -Map0=0,0,262143,256,3 -Map1=1,268419072,268431359,12,3 -MapEntries=2 -HWsettings=1,33024,8155,0,160,0,0,1 -HWsettings2=0 -HWsettings3=124,1 -NWsettings=0,8000,0,0,FFFFFFFFFFFFFFFFFFFF -NWsettings2=1 -AutoEventEntries=0 -EventEntries=0 -SeqName0= -SeqData0=0,0,0 -SeqEnable10=0,0,0,0,0,0,0,0,0,0 -SeqEnable20=0,0,0,0,0,0,0,0,0,0 -SeqEnable30=0,0,0,0,0,0,0,0,0,0 -SeqEnable40=0,0,0,0,0,0,0,0,0,0 -SeqDisable0=0,0,0,0,0,0,0,0,0,0 -SeqName1= -SeqData1=0,0,0 -SeqEnable11=0,0,0,0,0,0,0,0,0,0 -SeqEnable21=0,0,0,0,0,0,0,0,0,0 -SeqEnable31=0,0,0,0,0,0,0,0,0,0 -SeqEnable41=0,0,0,0,0,0,0,0,0,0 -SeqDisable1=0,0,0,0,0,0,0,0,0,0 -SeqName2= -SeqData2=0,0,0 -SeqEnable12=0,0,0,0,0,0,0,0,0,0 -SeqEnable22=0,0,0,0,0,0,0,0,0,0 -SeqEnable32=0,0,0,0,0,0,0,0,0,0 -SeqEnable42=0,0,0,0,0,0,0,0,0,0 -SeqDisable2=0,0,0,0,0,0,0,0,0,0 -TraceSettings=-1,0,0,0,0,0,0,2298478591,12,11,0,1,1,1,8192,0,4 -DataFlashSettings=0,0,0,0,0,0,0,0,0,0,0,1,0,1,1 -SelfProgrammingSettings=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -TraceSave=1,v850trace.txt -TriggerOutSettings=0,0,0,0,0,0,0,0,0,0 -TimerSettings=0,0,0 -Tim2Name1= -Tim2Data1=0,0,0,0,0,0,0,0,0 -Tim2Start1=0,0,0,0,0,0,0,0,0,0 -Tim2Stop1=0,0,0,0,0,0,0,0,0,0 -Tim2Name2= -Tim2Data2=0,0,0,0,0,0,0,0,0 -Tim2Start2=0,0,0,0,0,0,0,0,0,0 -Tim2Stop2=0,0,0,0,0,0,0,0,0,0 -Tim2Name3= -Tim2Data3=0,0,0,0,0,0,0,0,0 -Tim2Start3=0,0,0,0,0,0,0,0,0,0 -Tim2Stop3=0,0,0,0,0,0,0,0,0,0 -Tim2Name4= -Tim2Data4=0,0,0,0,0,0,0,0,0 -Tim2Start4=0,0,0,0,0,0,0,0,0,0 -Tim2Stop4=0,0,0,0,0,0,0,0,0,0 -Tim2Name5= -Tim2Data5=0,0,0,0,0,0,0,0,0 -Tim2Start5=0,0,0,0,0,0,0,0,0,0 -Tim2Stop5=0,0,0,0,0,0,0,0,0,0 -Tim2Name6= -Tim2Data6=0,0,0,0,0,0,0,0,0 -Tim2Start6=0,0,0,0,0,0,0,0,0,0 -Tim2Stop6=0,0,0,0,0,0,0,0,0,0 -Tim2Name7= -Tim2Data7=0,0,0,0,0,0,0,0,0 -Tim2Start7=0,0,0,0,0,0,0,0,0,0 -Tim2Stop7=0,0,0,0,0,0,0,0,0,0 -Tim2Name8= -Tim2Data8=0,0,0,0,0,0,0,0,0 -Tim2Start8=0,0,0,0,0,0,0,0,0,0 -Tim2Stop8=0,0,0,0,0,0,0,0,0,0 -Tim2Name9= -Tim2Data9=0,0,0,0,0,0,0,0,0 -Tim2Start9=0,0,0,0,0,0,0,0,0,0 -Tim2Stop9=0,0,0,0,0,0,0,0,0,0 -CoverSettings=0,1048575,66060288,67108863,0,0,0 -CoverSettings2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -Version=1 -LastDevFile=DF3454.800 -LastSetupFailed=0 -[Log file] -LoggingEnabled=_ 0 -LogFile=_ "" -Category=_ 0 -[TermIOLog] -LoggingEnabled=_ 0 -LogFile=_ "" -[Breakpoints] -Count=0 -[TraceHelper] -Enabled=0 -ShowSource=1 diff --git a/bsp/upd70f3454/settings/upd70f3454.wsdt b/bsp/upd70f3454/settings/upd70f3454.wsdt deleted file mode 100644 index 5635ba624..000000000 --- a/bsp/upd70f3454/settings/upd70f3454.wsdt +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - upd70f3454/Debug - - - - - - - - - 198272727 - - - - - - - 2061516441 - 4967085018823 - - - - - - - TabID-10377-5417 - Workspace - Workspace - - - upd70f3454upd70f3454/Output - - - - 0 - - - TabID-17988-5479 - Build - Build - - - TabID-19670-27945Find in FilesFind-in-FilesTabID-31574-29955Debug LogDebug-Log - - 0 - - - - - - 0100000010000001 - - - - - - - iaridepm.enu1-2-2477272-2-21111694135697190278585575-2-22961442-2-214442981002778364303694135697 - - - - diff --git a/bsp/upd70f3454/upd70f3454.ewd b/bsp/upd70f3454/upd70f3454.ewd index dba25a192..7470c266b 100644 --- a/bsp/upd70f3454/upd70f3454.ewd +++ b/bsp/upd70f3454/upd70f3454.ewd @@ -25,7 +25,7 @@ + + E1NWIV850 + 6 + + 2 + 1 + 1 + + + + + + + + + + + E1NWIE2RV850 + 6 + + 0 + 1 + 1 + + + + + + + + + E1SERIALV850 + 6 + + 0 + 1 + 1 + + + + + + + + EMUV850 6 @@ -372,6 +471,10 @@ $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin 0 + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin 0 @@ -489,6 +592,105 @@ + + E1NWIV850 + 6 + + 2 + 1 + 0 + + + + + + + + + + + E1NWIE2RV850 + 6 + + 0 + 1 + 0 + + + + + + + + + E1SERIALV850 + 6 + + 0 + 1 + 0 + + + + + + + + EMUV850 6 @@ -768,6 +970,10 @@ $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin 0 + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin 0 diff --git a/bsp/upd70f3454/upd70f3454.ewp b/bsp/upd70f3454/upd70f3454.ewp index a5fc04e83..4cc072768 100644 --- a/bsp/upd70f3454/upd70f3454.ewp +++ b/bsp/upd70f3454/upd70f3454.ewp @@ -128,7 +128,7 @@ ICCV850 4 - 15 + 16 1 1 - - + + + @@ -955,7 +959,7 @@ ICCV850 4 - 15 + 16 1 0 - - + + + @@ -1799,10 +1807,7 @@ $PROJ_DIR$\..\..\libcpu\v850\context.asm - $PROJ_DIR$\..\..\libcpu\v850\interrupt.c - - - $PROJ_DIR$\..\..\libcpu\v850\stack.c + $PROJ_DIR$\..\..\libcpu\v850\cpuport.c diff --git a/libcpu/v850/context.asm b/libcpu/v850/context.asm index dc743f081..a384c2f06 100644 --- a/libcpu/v850/context.asm +++ b/libcpu/v850/context.asm @@ -40,8 +40,6 @@ PUBLIC rt_hw_interrupt_disable PUBLIC rt_hw_interrupt_enable PUBLIC rt_hw_context_switch_to - PUBLIC rt_hw_context_switch - PUBLIC rt_hw_context_switch_interrupt PUBLIC OSCtxSW PUBLIC OS_Restore_CPU_Context @@ -121,14 +119,6 @@ rt_hw_context_switch_to: OSCtxSW: SAVE_CPU_CTX ;Save all CPU registers - - mov rt_thread_switch_interrupt_flag, r1 - ld.w 0[r1],r5 - cmp 0, r5 - be exit - - mov 0, r5 - st.b r5, 0[r1] mov rt_interrupt_from_thread, r21 ld.w 0[r21], r21 @@ -138,44 +128,10 @@ OSCtxSW: ld.w 0[r1], r1 ld.w 0[r1], sp -exit: ;Restore all Processor registers from stack and return from interrupt jr OS_Restore_CPU_Context -;R1 -> rt_interrupt_from_thread -;R5 -> rt_interrupt_to_thread -rt_hw_context_switch: - mov rt_thread_switch_interrupt_flag, r8 - ld.w 0[r8],r9 - cmp 1, r9 - be jump1 - ;mov rt_thread_switch_interrupt_flag, r1 - mov 1, r9 - st.b r9, 0[r8] - mov rt_interrupt_from_thread, r10 - st.w r1, 0[r10] -jump1 - mov rt_interrupt_to_thread, r11 - st.w r5, 0[r11] - trap 0x10 - jmp [lp] - -rt_hw_context_switch_interrupt: - mov rt_thread_switch_interrupt_flag, r8 - ld.w 0[r8],r9 - cmp 1, r9 - be jump2 - ;mov rt_thread_switch_interrupt_flag, r1 - mov 1, r9 - st.b r9, 0[r8] - mov rt_interrupt_from_thread, r10 - st.w r1, 0[r10] -jump2 - mov rt_interrupt_to_thread, r11 - st.w r5, 0[r11] - jmp [lp] - -rt_hw_context_switch_interrupt_do +rt_hw_context_switch_interrupt_do: mov rt_thread_switch_interrupt_flag, r8 mov 0, r9 st.b r9, 0[r8] diff --git a/libcpu/v850/stack.c b/libcpu/v850/cpuport.c similarity index 67% rename from libcpu/v850/stack.c rename to libcpu/v850/cpuport.c index 265871648..d5fee8ffa 100644 --- a/libcpu/v850/stack.c +++ b/libcpu/v850/cpuport.c @@ -1,7 +1,7 @@ /* - * File : stack.c + * File : cpuport.c * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -9,14 +9,30 @@ * * Change Logs: * Date Author Notes - * 2010-06-29 lgnq the first version - * - * For : NEC V850E - * Toolchain : IAR Embedded Workbench for V850 v3.71 -*/ + * 2011-02-23 Bernard the first version + */ #include +extern volatile rt_uint8_t rt_interrupt_nest; + +/* switch flag on interrupt and thread pointer to save switch record */ +rt_uint32_t rt_interrupt_from_thread; +rt_uint32_t rt_interrupt_to_thread; +rt_uint32_t rt_thread_switch_interrupt_flag; + +/** + * This function will initialize hardware interrupt + */ +void rt_hw_interrupt_init(void) +{ + /* init interrupt nest, and context in thread sp */ + rt_interrupt_nest = 0; + rt_interrupt_from_thread = 0; + rt_interrupt_to_thread = 0; + rt_thread_switch_interrupt_flag = 0; +} + /** * This function will initialize thread stack * @@ -59,3 +75,20 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter, rt_uint8_t *stack_ad *(--stk) = (rt_uint32_t) parameter; /* r1 */ return ((rt_uint8_t *)stk); } + +void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to) +{ + rt_interrupt_from_thread = from; + rt_interrupt_to_thread = to; + asm("trap 0x10"); +} + +void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to) +{ + if (rt_thread_switch_interrupt_flag != 1) + { + rt_thread_switch_interrupt_flag = 1; + rt_interrupt_from_thread = from; + } + rt_interrupt_to_thread = to; +} \ No newline at end of file diff --git a/libcpu/v850/interrupt.c b/libcpu/v850/interrupt.c deleted file mode 100644 index cb85a053f..000000000 --- a/libcpu/v850/interrupt.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * File : interrupt.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE - * - * Change Logs: - * Date Author Notes - * 2010-06-29 lgnq the first version - * - * For : NEC V850E - * Toolchain : IAR Embedded Workbench for V850 v3.71 -*/ - -#include - -rt_uint32_t rt_interrupt_from_thread; -rt_uint32_t rt_interrupt_to_thread; -rt_uint32_t rt_thread_switch_interrupt_flag; \ No newline at end of file