1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-23 00:16:17 +04:00
Commit Graph

159 Commits

Author SHA1 Message Date
function2-llx
7223cee638 add tty 2020-04-05 20:25:11 +08:00
function2-llx
749f2e40ce debug 2020-03-31 22:05:52 +08:00
Runji Wang
f66c8d29cd uppercase arguments in Makefile 2020-02-01 13:25:55 +08:00
Runji Wang
ab06b2cd55 remove dependency cargo-binutils 2020-02-01 12:47:43 +08:00
Runji Wang
fc5c82be28 ci: add GitHub Actions 2020-01-29 17:42:08 +08:00
Runji Wang
9c2459f2f0 update Rust nightly to 2020-01-17. remove dependence of cargo-xbuild. 2020-01-29 11:57:14 +08:00
Runji Wang
20f8b45888 riscv: rename 'arch/riscv32' to 'arch/riscv' 2019-11-30 15:48:12 +08:00
Runji Wang
915ef6f95e riscv: use -bios option for QEMU 4.1
And remove prebuilt OpenSBI for virt, since it's included in QEMU.
Ref: https://qemu.weilnetz.de/doc/qemu-doc.html#Deprecated-features B.1.15
2019-11-30 15:48:12 +08:00
equation314
344ff85a21 Pass the environment variable SMP to consts::SMP_CORES 2019-09-29 15:36:43 +08:00
equation314
c6a4792f13 aarch64: update crate bcm2837 to use local timer 2019-09-28 01:30:29 +08:00
Yuekai Jia
c99266c013
Merge branch 'master' into dev 2019-09-26 11:29:39 +08:00
equation314
f76208542b aarch64: add map_kernel() function
* create fine-grained mappings in memory::init()
* put physical memory mappings to 0xFFFF_8000_0000_0000
* reuse ioremap() for framebuffer memory
2019-09-26 02:25:02 +08:00
equation314
48d7fb091a aarch64: no longer use bootloader, enable paging in entry.S 2019-09-24 20:12:28 +08:00
Runji Wang
3beddf12da build: remove filling symbols. prepare command 'make test'. 2019-09-24 14:26:18 +08:00
Runji Wang
8dac3f107f travis: remove GCC toolchain, download prebuilt user image from github release 2019-09-24 01:49:08 +08:00
Runji Wang
590df849f3 update Rust toolchain and README
NOTE: MIPS is broken due to a Rust compiler bug
2019-09-11 23:58:52 +08:00
Runji Wang
c2a80c54f9 x86_64: switch from legacy BIOS to UEFI. use rboot as new bootloader
- remove dependencies: rust-osdev/{bootloader, bootimage}
- remove kernel stack segment
- find a bug: IDT should be initialized after GDT
2019-09-04 10:37:31 +08:00
Runji Wang
977c0badcb remove 'runui' makefile command 2019-09-03 12:15:33 +08:00
Jiajie Chen
07b75b0a74 Fix fill_symbols aarch64 on macOS 2019-06-16 00:11:25 +08:00
Jiajie Chen
164e94a146 Separate SFSIMG and SFSQCOW2 and fix aarch64 qemu boot 2019-06-16 00:03:32 +08:00
Jiajie Chen
81c77586c6 Adapt fill_symbols for macOS 2019-06-15 23:43:01 +08:00
Jiajie Chen
5ecdb4e656 Change release to mode in Makefile 2019-06-08 22:36:41 +08:00
gjz010
7b8252eb1b Basic loadable kernel module support, with a module template written in Rust.
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
2019-06-07 20:59:51 +08:00
Jiajie Chen
c8b0014c5f Remove u-boot support 2019-06-03 09:36:01 +08:00
BenjaminPMLovegood
cb682392f4 add emmc option for qemu 2019-05-29 18:38:59 +08:00
Jiajie Chen
e9c0bcadf7 Add graphic=console option and fix vga on x86_64 2019-05-24 15:20:39 +08:00
Jiajie Chen
c5acdb67e6 Fix compilation for merge and update vga buffer address 2019-05-24 08:57:21 +08:00
Harry Chen
fbca9a6e3a Add conditional compilation for mipsel, fix heap size for thinpad
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-14 00:21:04 +08:00
Harry Chen
6544093dc6 Revert "Revert "Save/restore FP registers when context switching (broken mipsel arch)""
This reverts commit b8f4ee2ce8.
2019-05-14 00:11:22 +08:00
Harry Chen
b8f4ee2ce8 Revert "Save/restore FP registers when context switching (broken mipsel arch)"
This reverts commit d261b4e0b3.
2019-05-13 23:53:52 +08:00
Harry Chen
d261b4e0b3 Save/restore FP registers when context switching (broken mipsel arch)
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-13 21:18:25 +08:00
Jiajie Chen
2e599b0bab Fix Rocket Chip serial interrupt 2019-05-08 11:02:23 +08:00
Jiajie Chen
2f2cbb81ac Embed rocket chip dtb in code 2019-05-07 08:40:43 +08:00
Jiajie Chen
f1971c489a Fix riscv32 testing 2019-05-03 15:17:06 +08:00
Jiajie Chen
2f6f8ef9bc Add syscall timing using rdtsc 2019-04-30 21:32:32 +08:00
Jiajie Chen
ae4badb3cd Force python3.7 for make addr2line 2019-04-29 10:45:04 +08:00
Jiajie Chen
bfd4f8a2a4 Add initial support for Rocket Chip platform 2019-04-27 23:01:44 +08:00
WangRunji
b0a1614b75 reorder syscall by function 2019-04-26 01:25:27 +08:00
WangRunji
45c2ec0b17 works on K210! 2019-04-21 23:48:46 +08:00
Jiajie Chen
96e393ecd4 Append kernel image to fu540.elf, but still not working on HfU 2019-04-20 16:41:52 +08:00
WangRunji
e01d23e526 replace riscv-pk by OpenSBI ! 2019-04-20 00:15:55 +08:00
WangRunji
f74a3b8e8b by default: use busybox sh, disable log, build in release mode 2019-04-19 00:37:30 +08:00
WangRunji
b566925626 fix Makefile on RISCV and PC 2019-04-17 00:45:44 +08:00
Jiajie Chen
9aa24ccacb Merge branch 'dev' 2019-04-16 10:08:27 +08:00
chyyuu
6f5faf422d add Makefile info about creating disk.img for real pc with x86_64 cpu 2019-04-16 00:11:35 +08:00
WangRunji
e12074c936 replace gnu binutils with cargo-binutils 2019-04-12 00:23:34 +08:00
Jiajie Chen
41dab25f9c Merge remote-tracking branch 'origin/master' into dev 2019-04-09 20:30:30 +08:00
Harry Chen
9b5f7b8078 Use host gcc for preprocessing in makefile
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 17:06:33 +08:00
Harry Chen
801b2e609a Fix makefile for aarch64
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 16:16:09 +08:00
Harry Chen
aa9bf593e2 Fix Makefile for aarch64, install dtc in travis config
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 13:47:04 +08:00