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

544 Commits

Author SHA1 Message Date
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
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
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
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
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
WangRunji
fc584753c1 update crate x86_64 to v0.5, bootloader to v0.4 2019-03-25 18:13:43 +08:00
Jiajie Chen
adb66167f8 Fix a potential racing in Condvar 2019-03-24 23:53:09 +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
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
Jiajie Chen
547baa9ecd Implement symlink following 2019-03-23 15:47:44 +08:00
Jiajie Chen
0272aa1070 Implement sys_readlink and improve sys_mremap 2019-03-23 11:33:53 +08:00
Jiajie Chen
1444fb4c42 Respect INTERP loader command in ELF and load the interpreter instead 2019-03-23 01:32:08 +08:00
Jiajie Chen
08ba9261aa Fix sys_mprotect with page alignment, dynamic loading seems working 2019-03-23 00:46:32 +08:00
Jiajie Chen
d285adf277 Fix last commit for exit_in_qemu 2019-03-23 00:26:36 +08:00
Jiajie Chen
b2585eb3bd Fix last commit 2019-03-23 00:22:33 +08:00
Jiajie Chen
4e0c18914f Implement sys_sendfile 2019-03-23 00:20:25 +08:00
WangRunji
638a2215b2 impl eager mmap file 2019-03-22 23:58:19 +08:00
WangRunji
5ddd5ece8d rename, simplify 2019-03-22 23:45:57 +08:00
Jiajie Chen
abd93e49e3 Implement write_at for virtio_blk driver 2019-03-22 23:14:41 +08:00
Jiajie Chen
c7b34a7f72 Use enable_irq explicitly in ixgbe driver 2019-03-22 12:33:48 +08:00