Commit Graph

24 Commits

Author SHA1 Message Date
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
Meco Man e91ffdd1a0 [libc] fix the conflict warning of read and write functions 2021-09-13 11:39:04 -04:00
Meco Man ed97957e32 [x86][drivers] auto formatted 2021-03-12 10:22:45 +08:00
Bernard Xiong 2da5d4a5d6 [bsp][x86] update x86 with Kconfig and newlib toolchains. 2021-02-19 23:55:17 +08:00
SASANO Takayoshi c81ebdc6d9 there is dummy time() function, but now it is implemented in
components/libc/compilers/minilibc/time.c.

maybe this dummy code is no longer required, so deleted.
2018-10-07 05:56:27 +09:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
parai 2957cf6f52 x86: bring up share object module on i386 machine
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature

Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
Parai Wang 0cd49a20ad x86: support both keyboard input and serial COM1 input
Signed-off-by: Parai Wang <parai@foxmail.com>
2017-08-18 12:02:43 +08:00
parai.wang 3416187ecf x86 : fix keyboard input issue 2017-08-18 11:38:00 +08:00
Bernard Xiong f975ef5146 Merge pull request #807 from parai/master
[BSP] x86: add floppy driver
2017-08-18 10:55:22 +08:00
Bernard Xiong 50a2ae584b Revert "x86: keyboad input bug fix" 2017-08-18 10:54:45 +08:00
parai bafa3a8eb3 x86: add floppy driver
currently only read okay, write is not supported, this is enough for
me to study ELF, but the floppy is really small, now only about 400kb
space free showed by df("/").

Signed-off-by: parai <parai@foxmail.com>
2017-08-17 23:34:09 +08:00
parai eb5ea946a6 tmp floopy driver save, no test 2017-08-16 23:37:12 +08:00
parai 08d13e033c x86: keyboad input bug fix
most of the code copy from tinix, just make it run, code quality is not good.

Signed-off-by: parai <parai@foxmail.com>
2017-08-16 22:37:06 +08:00
parai.wang 5ba5ebc8be x86: host machine native gcc support and use qemu to run 2017-08-16 15:47:15 +08:00
Bernard Xiong a0de58a008 [BSP] fix x86 bsp compiling issue 2015-09-15 11:50:29 +00:00
陈豪 | Jacob Chen 7aeb40204c Update bsp.h 2015-03-29 21:16:38 +08:00
陈豪 | Jacob Chen d642d915eb [bsp]x86:fix compile error when use bsp.h in c++ 2015-03-29 18:42:31 +08:00
陈豪 | Jacob Chen 6868130cfd [bsp]x86:fix compile error when use i386.h in c++ 2015-03-29 18:41:44 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
wuyangyong ec1c89d5ec add idle hook, in idle thread, cpu hlt.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1964 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 14:49:46 +00:00
wuyangyong be7bd6b5d7 update x86.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1950 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 15:58:52 +00:00