summaryrefslogtreecommitdiff
path: root/src/kservice.c
AgeCommit message (Collapse)Author
2016-08-12增加rt_strnlen,lua采用单独的线程zhangjun
2016-08-01Fix type size for 16bit cpuJason Pan
2016-04-18[Kernel] Update year information in version info.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-06-11[kservice]add hook for RT_ASSERTarmink
2015-05-20[kservice] fix rt_strcmp/strncmp/strlen prototypeprife
2015-01-21[Kernel] Change the copyright date informationBernard Xiong
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-09-11[Kernel] Use stream mode to open console device.bernard
2014-06-26Add WEAK definition;bernard
2013-09-24update rt_kprintf: make sure the device is in STREAM mode when used by ↵aozima
rt_kprintf.
2013-09-23kservice: export vsnprintf as rt_vsnprintfGrissiom
vsnprintf is a common string function that could be used in many places. Using both vsnprintf in libc and vsnprintf in the RTT could make a bigger image. Moreover, if newlib is not enabled when compiling with GCC, referencing vsnprintf will lead to link error: .../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk' collect2: error: ld returned 1 exit status Using rt_vsnprintf could avoid such problem.
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-06-24Update kservice.cBernard Xiong
2013-04-10update the version informationyiyue.fang
2006 - 2013 Copyright by rt-thread team
2013-03-23implement __rt_ffs in kernel service libraryBernard Xiong
2012-12-25fixed coding style in kservice.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2522 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-22fix rt_kprintf issue, which found by Grissiom.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2507 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 fix IAR compiler error. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2434 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22fixed mutex issue in memheap; fixed compiling issue in kservice.c when ↵[email protected]
COMPILER is not defined; add finsh for win32 porting. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2365 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-18add the alignment display for signed integer[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2220 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30Added VisualDSP++ Compiler support.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2137 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14fixed memmove issue, report by luoyuncong.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2043 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22add RT_PRINTF_PRECISION in kservice.c; fix re-schedule issue in IPC control ↵[email protected]
function. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2003 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17unify the coding style of kerneldzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-30add alignment memory allocation.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1928 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1894 ↵wuyangyong
bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31change the version from 0.4.0 to 1.0.0dzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1893 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-29delete a needless tab in function dzzxzz
char *rt_strncpy(char *dst, const char *src, rt_ubase_t n) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1887 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08fixed object name copy bug; update AT91SAM7S64 branch.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1787 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-25fixed errno issue when using newlib.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1729 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-25update building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1728 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21cleanup kernel codedzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28add errno implementation in RT-Thread.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29add rt_tick_set function[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1551 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12Add reentrance check. Put kernel debug switch together.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09fix an error when RT_USING_CONSOLE is not defined.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1474 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-12add RT_USING_CONSOLE definition.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1330 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-24update version information.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1289 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-24add RT_USING_DEVICE definition.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-08add IAR compiler version check in weak; add rt_malloc_page/rt_free_page for ↵[email protected]
application module; fix the software timer thread stack issue. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1183 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-02add __weak for rt_hw_console_output (IAR) wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1172 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29update doxygen comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28implement module memory allocatorqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-21fix struct stat issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1026 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19support kernel symbol link in module systemqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1022 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29change the ALIGN definition for IAR compiler.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@781 bbd45198-f89e-11dd-88c7-29a3b14d5316