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

1117 Commits

Author SHA1 Message Date
Jiajie Chen
ee66451873 Map e1000 to kernel space addr as well and rename its iface 2019-04-02 10:24:18 +08:00
Jiajie Chen
66af7473eb Do not use alloc::prelude 2019-04-02 08:52:13 +08:00
Jiajie Chen
ca45848028 Add extra_nic option 2019-04-02 08:27:02 +08:00
Jiajie Chen
4c528be778 Fix comment in AHCI 2019-04-02 08:12:26 +08:00
Harry Chen
2d5b6948b5 Pass dtb to driver, remove rv code in io
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-02 01:59:50 +08:00
Harry Chen
0a02315990 Add kernel stack for exception handling
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-02 01:41:48 +08:00
Harry Chen
4ddcdeb004 Complete DTS for qemu-malta
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-02 01:07:08 +08:00
Harry Chen
b6f1b3c926 Merge remote-tracking branch 'origin/master' into mipsel 2019-04-01 23:32:30 +08:00
Harry Chen
c496dd5778 Fix extra endif in Makefile
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-01 23:29:50 +08:00
Harry Chen
34c3d139a1 Modify linker script to mipsel arch, add dts in kernel binary
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-01 23:07:49 +08:00
Yuhao Zhou
d588a922ab Fix some syntax errors. 2019-04-01 22:36:12 +08:00
Harry Chen
ebd1127f1a Merge branch 'mipsel' of github.com:oscourse-tsinghua/rcore_plus into mipsel 2019-04-01 18:27:08 +08:00
Harry Chen
52758e6620 Add simple bootloader for mipsel
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-01 18:26:55 +08:00
WangRunji
05d714ff27 improve AHCI mod stage 2 2019-04-01 16:15:58 +08:00
Yuhao Zhou
bcff364b1a Add exception handler for MIPS. 2019-04-01 15:12:17 +08:00
Yuhao Zhou
9bdac887f0 Remove SBI. 2019-04-01 12:05:22 +08:00
Yuhao Zhou
95b9fe5f5b Add timer for mips. 2019-04-01 11:53:20 +08:00
Yuhao Zhou
cbb59d853b Fix arch error in mips. 2019-04-01 11:37:14 +08:00
Yuhao Zhou
e53b3c16f6 Add interrupt for mips32 in crate::thread. 2019-03-31 23:31:37 +08:00
Yuhao Zhou
a78916c57e Add MIPS target. 2019-03-31 22:04:22 +08:00
WangRunji
8d92b7b985 simplify AHCI mod stage 1 2019-03-31 00:58:50 +08:00
WangRunji
11c5609171 refactor PCI mod using pci crate 2019-03-30 23:48:33 +08:00
Jiajie Chen
d9bdaf9875 Fix AHCI not working on newer versions of QEMU 2019-03-30 16:03:16 +08:00
Jiajie Chen
3dff84c686 Fix last commit for pci device probing 2019-03-30 10:14:46 +08:00
Jiajie Chen
2da17d7fcd Replace IDE with AHCI driver 2019-03-30 10:03:08 +08:00
Jiajie Chen
cbba658e22 Implement ATA IDENTIFY DEVICE via AHCI interface 2019-03-30 00:06:27 +08:00
Jiajie Chen
fad837c916 Merge branch 'dev' 2019-03-29 21:42:20 +08:00
equation314
b8d91965e7 aarch64: fix A1 field in TCR_EL1 register 2019-03-29 19:57:25 +08:00
Jiajie Chen
9831cae13c Fix travis CI for riscv32 2019-03-29 15:19:40 +08:00
Jiajie Chen
236ddd0827 Move chmod to x86 specific syscall 2019-03-29 13:51:31 +08:00
Jiajie Chen
105ce6a794 Merge remote-tracking branch 'rcore/dev' 2019-03-29 13:37:20 +08:00
WangRunji
1ffd44cde0 HUGE REFACTOR net module 2019-03-29 13:23:49 +08:00
Jiajie Chen
311cf104f9 Many minor fixes to allow gcc to run inside rCore. Add some syscalls, fix SEEK_* and enlarge the heap 2019-03-29 13:14:08 +08:00
Jiajie Chen
524865ebd8 Implement sys_prlimit64 for nginx 2019-03-27 21:39:44 +08:00
WangRunji
c2a90e2ab1 update dependencies 2019-03-27 18:45:24 +08:00
WangRunji
b836b11792 reformat code using cargo fmt 2019-03-27 18:45:24 +08:00
Jiajie Chen
fe88f4f77f Fix sys_readv not updating file offset 2019-03-27 18:38:42 +08:00
equation314
e4df6d6788 Fix bootloader build failure on aarch64 2019-03-27 12:08:02 +08:00
Jiajie Chen
7f36069b11 Change travis test arch from riscv64 to riscv32 2019-03-27 07:28:18 +08:00
Jiajie Chen
772ab4f37d Change travis badge link, and fix allow_failures syntax 2019-03-27 01:40:47 +08:00
Jiajie Chen
10e883d56f Fix mmap clashing with temporary map addr. Add riscv toolchains in travis CI 2019-03-26 17:33:32 +08:00
Jiajie Chen
fcfe677bcc Fix makefile and loader NULL character stripping 2019-03-26 16:50:21 +08:00
Jiajie Chen
5c33191765 Implement automatic tests using kernel cmdline 2019-03-26 16:05:21 +08:00
WangRunji
dc19d38dc7 convert all C-style comments to Rust-style docs 2019-03-26 13:49:52 +08:00
WangRunji
01a0f961e9 remove remaining M-Mode & K210 code. improve docs in context.rs 2019-03-26 13:36:19 +08:00
Jiajie Chen
ff82679ddc Add aarch64 to allow_failures, update user 2019-03-26 11:41:49 +08:00
WangRunji
6923efd250 fix last commit. improve process code. 2019-03-26 11:23:58 +08:00
Jiajie Chen
e3fb47a03e Remove m-mode and k210 support. 2019-03-26 08:28:10 +08:00
Jiajie Chen
58192827e1 Add qemu-img to $PATH in Travis CI 2019-03-25 22:03:56 +08:00
Jiajie Chen
fb8fe46606 Install libfuse in travis CI 2019-03-25 21:36:10 +08:00