summaryrefslogtreecommitdiff
path: root/include/rtdef.h
AgeCommit message (Collapse)Author
2014-01-04fix the FINSH_USING_SYMTAB not defined and compiling error issuebernard
2014-01-01add file and path name auto completion for module shellbernard
2013-10-17Merge pull request #173 from grissiom/new-timerBernard Xiong
kernel: use skip list to implement timer list
2013-10-12kernel: use skip list to implement timer listGrissiom
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.
2013-10-10add BGR565 definitionbernard
2013-08-20dev/portal: implement portal deviceGrissiom
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
2013-08-20dev/pipe: make pipe a type of deviceGrissiom
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
2013-07-24add initialization debug codebernard
2013-07-22add mount tablebernard
2013-07-09Merge pull request #118 from BernardXiong/masterBernard Xiong
Remove initialization feature for MS VC++ compiler.
2013-07-09device: add ref_count supportGrissiom
This is a simple work around to the current device stack design. A ref_count could let different modules to open/close the same device independently without interfere others in some degree. But there is still some data shared between the modules, like flag, open_flag and user_data. Moreover, it won't yield an error if A open a device, and B read from it before open it in B. Maybe alloc a new handle in rt_device_open will be the ultimate solution. But that is much bigger change and we may leave it to future development.
2013-07-05fix the spelling wrongBernard Xiong
2013-07-05remove initialization feature for MS VC++ compilerBernard Xiong
2013-07-01rm48x50: restore missing include for __TI_COMPILER_VERSION__Grissiom
2013-06-29reformat the coding style in rtdef.hyiyue.fang
convert the Tabs to Spaces
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-06-23Add component initialization.Bernard Xiong
2013-06-23Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2013-06-23Add component initialization define in rtdef.hBernard Xiong
2013-06-03rtdef.h: get back the codes that removed accidentally by d80a471Grissiom
2013-06-03Fix the memheap_realloc issueBernard Xiong
2013-05-29add TI CCS support micros in rtdef.hGrissiom
2013-05-24add rm48x50 bsp and libcpuGrissiom
We currently only support building with CCS and SCons is not using. bsp/rm48x50/HALCoGen/HALCoGen.{hcg,dil} is the HALCoGen project file. You may need to regenerate the source file as you like, providing that: 1, IRQ is in Dispatch Mode and the table entry is IRQ_Handler. The channel 5 in enabled and connected to IRQ. 2, RTI driver is enabled and compare3 source is selected to counter1 and the compare3 will generate tick in the period of 10ms. This value is coresponding with RT_TICK_PER_SECOND in rtconfig.h. In CCS, you need to create a new CCS project and create link folders pointing at bsp/rm48x50, libcpu/arm/rm48x50 and src/, include/. Remember to add the include path to the Build Properties.
2013-04-25add RT_KERNEL_MALLOC/FREEBernard Xiong
2013-01-09change version numberBernard Xiong
2012-12-30fixed the coding style in rtdef.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2566 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30add more control command for graphic.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2560 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as ↵[email protected]
system default memory heap. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14fixed the coding style[email protected]
convert the tabs to spaces convert the file format to unix style git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2483 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14add RT_DEVICE_CTRL_BLK_ERASE and struct rt_device_blk_sectors in rtdef.h[email protected]
please see this commit with revision 2478 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16change RT_NULL from ((void*)0) to 0. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2422 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29add RTC control command[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2377 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23convert TABs to Spaces in rtdef.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2367 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22Add mutex lock in memheap object.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2366 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10change the comment style in rtdef.h[email protected]
it will be used by doxygen git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2333 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05Add _MSC_VER compiler checking; Add DEVICE_CTRL_BLK_SYNC flag.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2315 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07re-format the coding style in rtdef.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2280 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18fixed spelling error[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2175 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18Remove I2C device and add PM pseudo device.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 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-05-22ADD I2C BUS device type[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2130 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-07add memory heap object in module[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14Added memory heap object implementation; Added RT_LIST_OBJECT_INIT macro. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2046 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-18fix module unload issue[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2001 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-02-18add RTTHREAD_VERSION definition.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1965 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31remove some warning in jffs2, and fix armcc compile error when using scons[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 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-31cleanup some comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1898 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31fix a spell issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1896 bbd45198-f89e-11dd-88c7-29a3b14d5316