summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-09-24[Kernel] mark the free mem block with HEAP_MAGIC.Bernard Xiong
2015-09-24[Kernel] Export more symbols for module.Bernard Xiong
2015-09-10open and then get the new deviceGalaIO
in rt_console_set_device, open new device first and get the new device to _console_device. 我在编写程序时,在device驱动中打印log,但是使用rt_kprintf时,如果_console_device存在非空,那就执行驱动的write函数,但是这是device还没有初始化成功,但是已经提前给_console_device赋值,导致了程序无故fault,以上述修改可避开这样的矛盾。
2015-08-03[Kernel] Use rt_assert_handler() function to handle assertion.Bernard Xiong
2015-08-03[Kernel] More better support for module.Bernard Xiong
2015-08-03[Kernel] Fix compiling warning.Bernard Xiong
2015-08-03[Kernel] export more symbols.Bernard Xiong
2015-07-29[Kernel Init] Add support to use RT_USING_USER_MAIN with IARardafu
2015-06-11[kservice]add hook for RT_ASSERTarmink
2015-05-20[kservice] fix rt_strcmp/strncmp/strlen prototypeprife
2015-05-20[Kernel]when the macro of RT_USING_COMPONENTS_INIT is not open ,then remove ↵pangwei
the source of components.c from the project. Signed-off-by: pangwei <[email protected]>
2015-05-18[Kernel] fix the Keil MDK compiling warning.Bernard Xiong
2015-05-04[Kernel] Rename init.c to components.c in kernel to avoid same file name issue.Bernard Xiong
2015-04-24[Kernel] Fix main() issue in Keil MDKBernard Xiong
2015-04-14SConscript: fix LINKFLAGS over-writtenGrissiom
Fix a regression on 62a0172d11e5592.
2015-04-14SConscript: fix the `--keep` parameter for KeilGrissiom
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it right.
2015-04-10Merge remote-tracking branch 'upstream/master'Bernard Xiong
2015-04-08memheap: check the USED bit in rt_memheap_freeGrissiom
This will ease the debugging of double-free bug.
2015-04-03[Kernel] Use main function in the Keil MDKBernard Xiong
2015-03-22[Kernel] Fix the system initialization link issueBernard.Xiong
2015-02-25[Kernel] Move the components initailzation to the kernelBernard Xiong
2015-01-21[Kernel] Change the copyright date informationBernard Xiong
2015-01-16memheap: check against over written in rt_memheap_freeGrissiom
2015-01-04rt_kprintf: force the open_flag to be RT_DEVICE_FLAG_STREAMGrissiom
Commit a6251a439e7385f changed the serial device to check open_flag instead of flag. So we should change the rt_kprintf counterpart as well.
2014-12-24object: fix module name testingGrissiom
2014-12-01module: add !__CC_ARM when test __GNUC__Grissiom
ARMCC will define __GNUC__ in "GNU mode"(with --gnu command line option). So iff __GNUC__ && !__CC_ARM is GCC.
2014-10-14kernel/timer: change row_lvl to unsignedGrissiom
Use signed int as array index is unsecure.
2014-09-19Update device.cBernard Xiong
2014-09-11Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2014-09-11[Kernel] Use stream mode to open console device.bernard
2014-09-11[Kernel] comments clean up.bernard
2014-09-11[Kernel] comments clean up.bernard
2014-09-02kernel/idle: fix rt_thread_idle_excute in high optimization levelGrissiom
The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)". So the compiler has a good reason that the rt_thread_defunct list does not change within rt_thread_idle_excute thus optimize the "while" loop into a "if". So add the volatile qualifier when test against the rt_thread_defunc list.
2014-08-24fix:comment spelling mistaketcz717
relation=>relocation
2014-08-20kernel: mempool: fix race condition in rt_mp_allocGrissiom
When thread wake up from waiting for memory, there is a chance that there is no memory available in high pressure. So use a loop to check again. Otherwise, there will be a NULL reference.
2014-07-21[Kernel] Better documentation for doxygen.bernard
2014-07-21[Kernel] The rt_object_find routine can support to find an object inside a ↵bernard
module. The usage is: rt_object_find("module_name/object_name").
2014-07-16src/timer: fix a compile warningGrissiom
2014-07-12[Kernel] system does not lock scheduler when invoking soft-timer timeout ↵bernard
function.
2014-07-10[Kernel] Remove rt_device_init_all implemetation.bernard
2014-06-26Add WEAK definition;bernard
2014-06-18device: only increase the ref_count when device is truly openedGrissiom
2014-04-16[mempool] reset the thread->error before suspending threadGrissiom
Time out result and other errors is recorded in thread->error. Dirty error will screw up the error handling code after the thread has been wake up.
2014-04-02[Kernel] Change command line to const parameter and add system() function.bernard
2014-03-11[Kernel] declare more APIs in modulebernard
2014-03-11[Kernel] stop thread timer when suspend a threadbernard
2014-01-11[Kernel] application module can support argumentsbernard
2013-12-21kernel: let rt_thread_idle_excute loop until there is no dead threadGrissiom
Out side world is difficult to tell whethere there is dead thread remaining. If rt_thread_idle_excute only do one cleanup, it's hard to finish cleanups outside the idle thread. So let is loop and do all the cleanups in one call.
2013-12-21kernel: add rt_critical_level that return the lock count of schedulerGrissiom
Out side world may be interested in whether the scheduler is locked or not. Provide an API to tell that.
2013-10-19kernel: timer: fix compiling bug in d59aa279c37b7Grissiom