Commit Graph

41 Commits

Author SHA1 Message Date
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Man e91ffdd1a0 [libc] fix the conflict warning of read and write functions 2021-09-13 11:39:04 -04:00
BernardXiong bfc1c6152e [BSP] Enable romfs in x86 BSP 2021-09-07 20:47:56 +08:00
BernardXiong 13fb026934 [BSP] Add README.md in x86 2021-08-22 07:10:40 +08:00
BernardXiong 89d7159460 [BSP] add dbg/run.sh script for x86 2021-08-22 07:03:16 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02: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
guozhanxin a22decb71b 【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。 2020-11-23 11:39:38 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
SASANO Takayoshi b41ecff518 fix rt_system_module_init() -> rt_system_dlmodule_init(),
in components/libc/libdl/dlmodule.c.
2018-10-21 21:21:38 +09: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
SASANO Takayoshi 86742879f3 There is no problem to create hello.mo with default compiler on
Debian-9.5/amd64.

But building hello.mo with i386-elf-gcc (5.5.0) cross compiler on
OpenBSD-6.3/amd64, undefined reference to 'rt_kprintf' error occurs.

To avoid this error, "compile and link" process needs to be divided to
simply "compile" and "link".

On Debian-9.5, both previous and current method produces same hello.mo.

We have to improve disk image creation (Linux dependent),
this is a future homework.
2018-10-06 18:33:18 +09:00
Bernard Xiong f89b8ed250 [BSP] remove RT_USING_LIBDL option. 2018-08-31 12:58:26 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
SummerGift f5486852e1 change dfs_init.h => dfs.h 2017-10-31 16:36:45 +08: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
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +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
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com e41d961be2 delete the unnecessary empty lines
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2352 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-15 01:49:03 +00:00
dzzxzz@gmail.com 9393c29224 fixed coding style in x86 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2351 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-15 00:51:09 +00:00
dzzxzz@gmail.com a7810e12b9 update the rtconfig.py and SConstruct in the BSP
in order to use buildbot.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-09 03:32:35 +00: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
wuyangyong 4f6f15601d rename qemu(ia32) to x86.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1949 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 15:49:18 +00:00