- 25 10月, 2013 3 次提交
- 23 10月, 2013 6 次提交
-
-
由 Bernard Xiong 提交于
K60: fix compile error
-
由 caicai 提交于
-
由 Bernard Xiong 提交于
Log trace in mem
-
由 Bernard Xiong 提交于
Rm48x50 next
-
由 Grissiom 提交于
After `log_trace_init()`, call `memlog_init`. It then turn the logtrace into a "in-memory" logger which will buffer all the log in memory. It also set a hook in idle to flush all the log into console. One may create an other thread to flush the logs but idle might be the simplest place to go.
-
由 Grissiom 提交于
-
- 21 10月, 2013 2 次提交
-
-
由 Bernard Xiong 提交于
initialize timer in bsp
-
由 Grissiom 提交于
With new timer algorithm, timer should be initialized during startup. So add them to the bsps. Use these commands to get which bsp is missing calling the function: % git grep rt_system_timer_init bsp|sed -n 's|bsp/\([^/]*\).*|\1|p' | sort | uniq > have_tm_init % ls -1 bsp |sed -n 's|\([^/]*\).*|\1|p' | sort > all_bsp % comm -3 all_bsp have_tm_init beaglebone lpc176x lpc178x ls1bdev mb9bf506r stm32f10x xplorer4330
-
- 20 10月, 2013 6 次提交
- 19 10月, 2013 4 次提交
-
-
由 Bernard Xiong 提交于
kernel: timer: fix compiling bug in d59aa279
-
由 Grissiom 提交于
-
由 Grissiom 提交于
-
由 Bernard Xiong 提交于
Finsh ex
-
- 18 10月, 2013 5 次提交
-
-
由 Grissiom 提交于
We split the history handling form the key handling. So we could handle the direction key even if the history is disabled. As a "side effect", I also remove the unnecessary "use_history" bit.
-
由 Bernard Xiong 提交于
kernel: use skip list to implement timer list
-
由 Bernard Xiong 提交于
make sure the device is in STREAM mode when used by rt_kprintf.
-
由 Bernard Xiong 提交于
UART DMA tx_complete() with buffer information
-
由 Bernard Xiong 提交于
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
-
- 17 10月, 2013 1 次提交
-
-
由 prife 提交于
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC. While it may cause many side effects.
-
- 15 10月, 2013 2 次提交
-
-
由 Bernard Xiong 提交于
simulator: add createdef.py to generate def file for VS
-
由 Bernard Xiong 提交于
kernel: mutex could only be released in thread context
-
- 14 10月, 2013 2 次提交
-
-
由 prife 提交于
Now we can get rid off Mingw to create def file. To create def file, one should run: scons --def in the bsp/simulator.
-
由 Grissiom 提交于
Mutex has the idea of ownership, only the thread which owns the mutex can release it. So rt_mutex_release could only be called in thread context. Add a debug guard to it.
-
- 12 10月, 2013 3 次提交
-
-
由 Grissiom 提交于
Skip list is a "random" data structure that in high possibilities it would get O(log(N)) time complexity in inserting while the old list get O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just the same as the old double linked list, both in time and space complexity. Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average time of random insertion of new timer is about 2 times faster than the old timer when there are 100 timers and 3 times faster when there are 200 timers. However, it restores the deprecated funcion rt_system_timer_init. BSPs must invoke it upon system startup.
-
由 Bernard Xiong 提交于
kernel: fix compiling error when RT_DEBUG is not defined
-
由 Grissiom 提交于
Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
-
- 11 10月, 2013 6 次提交
-
-
由 Bernard Xiong 提交于
kernel: add RT_DEBUG_IN_THREAD_CONTEXT
-
由 Grissiom 提交于
In thread context means: 1) the scheduler has been started; 2) not in interrupt context. It is more stronger than RT_DEBUG_NOT_IN_INTERRUPT. With this commit, you will catch the error on situations like taking mutex before scheduling instead of crashing on NULL pointer reference.
-
由 Bernard Xiong 提交于
DFS: add dfs_file_flush prototype in dfs_file.h
-
由 Bernard Xiong 提交于
log_trace: fix the memmove use
-
由 Grissiom 提交于
The first parameter of memmove is the dst, not src. Besides, fix the wrong move size.
-
由 Grissiom 提交于
-