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

179 Commits

Author SHA1 Message Date
gjz010
05303b9c6f bump rvm version and adjust memory size 2021-05-11 12:22:43 +08:00
gjz010
42e2063728 Makefile and Cargo.toml changes 2021-05-11 02:21:13 +08:00
gjz010
af71dfaf4b Temporary commit for cleanup. 2021-05-04 20:58:32 +08:00
gjz010
f68cd2486e Migrating to OpenSBI 0.9 with SBI spec 0.2 2021-03-03 14:32:41 +08:00
Yuekai Jia
180e855ace hypervisor: import RVM 2020-09-20 23:30:28 +08:00
Jiajie Chen
a16a9e238b Add IDE back for mips, remove mipssim 2020-07-07 08:25:30 +08:00
Jiajie Chen
16eb1ed7e2 Move arch specific code to arch 2020-06-30 12:27:29 +08:00
Jiajie Chen
e32597ac82 Add fp save and restore and use accel=hvf in macOS 2020-06-29 22:53:30 +08:00
Jiajie Chen
611aaa5f01 Update dependencies 2020-06-26 23:23:57 +08:00
Jiajie Chen
2dca1399be Remove k210, until we are able to test on it again again 2020-06-26 22:30:01 +08:00
equation314
e218399113 aarch64: add bcm2835 sdhci as block driver
Now can load user programs from the SD card, but too slow to read/write
2020-06-21 18:55:29 +08:00
Jiajie Chen
57d923c1f9 Fix compilation for riscv 2020-06-20 16:53:18 +08:00
Jiajie Chen
08fc526521 Port to riscv #1 2020-06-20 10:06:35 +08:00
Chen
1176446f83
Merge branch 'master' into EatenBagpipe-master 2020-06-12 09:47:57 +08:00
Jiajie Chen
ad4ea951e3 Don't enable kvm by default 2020-06-12 08:53:43 +08:00
Jiajie Chen
12a29297ba Revert part of changes 2020-06-12 08:50:07 +08:00
宋香君
8cb2602416 update initialization for mxcsr register, enable KVM 2020-06-05 16:32:09 +08:00
prettykernel
2dfca0c445 fix some compile warnings, and fix deprecated qemu option 2020-05-31 16:06:38 +08:00
function2-llx
c50d25dba9 fix fork 2020-04-19 23:40:37 +08:00
function2-llx
8bb6370f6c fmt 2020-04-13 13:16:34 +08:00
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