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

1051 Commits

Author SHA1 Message Date
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
WangRunji
05d714ff27 improve AHCI mod stage 2 2019-04-01 16:15:58 +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
WangRunji
fc584753c1 update crate x86_64 to v0.5, bootloader to v0.4 2019-03-25 18:13:43 +08:00
Jiajie Chen
a1e26a2a59 Move to a newer rust toolchain with rls 2019-03-25 13:00:09 +08:00
Jiajie Chen
adb66167f8 Fix a potential racing in Condvar 2019-03-24 23:53:09 +08:00
Jiajie Chen
3a6803af9b Implement O(1) scheduler and add comments for other schedulers 2019-03-24 22:22:44 +08:00
Jiajie Chen
394afa493e Fix TODO in work stealing scheduler 2019-03-24 21:39:15 +08:00
Jiajie Chen
7ee69db575 Silence sys_access and sys_chdir because rust sh use these now 2019-03-24 19:10:33 +08:00
Jiajie Chen
285ffc7618 Move absolute/relative path resolution to rcore-fs, implement dummy sys_fchown, sys_fchownat and sys_symlinkat 2019-03-24 18:25:13 +08:00
Jiajie Chen
48ebf98f11 Fix pop_with_split, check file existence in sys_access 2019-03-24 16:25:32 +08:00
Jiajie Chen
285df82b80
Fix qcow2, and add pci_passthru to MakeFile
Signed-off-by: Jiajie Chen <noc@jiegec.ac.cn>
2019-03-24 01:29:03 +08:00
Jiajie Chen
715faca0df Use qcow2 instead of img for sfsimg 2019-03-24 00:49:48 +08:00
Jiajie Chen
556d263d8e Implement sys_openat and sys_renameat 2019-03-24 00:36:13 +08:00
Jiajie Chen
7b20c72864 Fix last commit 2019-03-23 23:53:12 +08:00
Jiajie Chen
0edfc07939 Allow page fault handler to bypass process lock and fix thread pool wakeup for exited process 2019-03-23 23:50:30 +08:00
Jiajie Chen
9f03bfc849 Add rand module for ip port randomization and use ethernet default mtu in ixgbe 2019-03-23 18:23:02 +08:00
Jiajie Chen
2fac6e9941 Dummy implementation for sys_statfs, sys_flock and sys_mount 2019-03-23 16:25:46 +08:00
Jiajie Chen
705505c543 Rearrange syscall order and implement dummy sys_fstatfs 2019-03-23 16:17:19 +08:00