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

824 Commits

Author SHA1 Message Date
Harry Chen
6a83de7846 Revert "Fix trapframe."
This reverts commit 297c9d453d.
2019-05-13 23:53:47 +08:00
Yuhao Zhou
297c9d453d Fix trapframe. 2019-05-13 22:20: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
Yuhao Zhou
6add7002fd Update consts for MIPS.malta 2019-05-12 22:56:34 +08:00
Harry Chen
9203a612f8 Merge branch 'dev' into mipsel 2019-05-12 22:41:51 +08:00
Jiajie Chen
deba6e9204 Fix phys_to_virt 2019-05-12 15:32:30 +08:00
Jiajie Chen
221304d78a Use phys_to_virt and virt_to_phys to replace the use of KERNEL_OFFSET 2019-05-12 15:28:42 +08:00
Jiajie Chen
28652ef685 Fix rv mask 2019-05-12 07:14:30 +08:00
Jiajie Chen
ba8f9370ba Remove rv48 support, for it has no use and it's easy to add back when necessary 2019-05-12 01:46:55 +08:00
Jiajie Chen
5afd84e5d3 Finish rv64 with sv39 support 2019-05-12 01:44:49 +08:00
Jiajie Chen
26e47fc36f [WIP] Initial rv64 sv39 support 2019-05-12 01:11:53 +08:00
Jiajie Chen
0d801eceb5 [WIP] Fix rv32 serial interrupt 2019-05-11 23:12:05 +08:00
Jiajie Chen
f6a54c398d [WIP] rv32 can enter userland now 2019-05-11 23:10:19 +08:00
Jiajie Chen
cf6a7746f4 [WIP] update rv32 linear mapping 2019-05-11 22:50:41 +08:00
Yuhao Zhou
c1d139598c Merge remote-tracking branch 'origin/dev' into mipsel 2019-05-11 18:24:20 +08:00
Jiajie Chen
d66df43ec0 [WIP] rv32 linear mapping 2019-05-11 12:21:58 +08:00
WangRunji
c8262f936f fix paging for mips 2019-05-11 12:00:39 +08:00
WangRunji
cd22273ef9 refactor to linear mapping for x86_64 2019-05-11 01:06:44 +08:00
Jiajie Chen
8149793b9a Fix typo in mips paging 2019-05-10 17:34:18 +08:00
Harry Chen
75b67fa575 Replace \n to \r\n in serial driver
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-10 17:25:49 +08:00
WangRunji
6e5b3e2515 fix broken pipe status. rustc works now! 2019-05-10 12:28:37 +08:00
Jiajie Chen
6bb11a5433 Reset router tx/rx fifo and fix tx length 2019-05-10 08:10:03 +08:00
WangRunji
fbd2aef916 fix page table racing by adding a global mutex 2019-05-10 00:11:09 +08:00
WangRunji
ba8d08d733 fix Process dropping by making proc.parent a weak reference 2019-05-09 23:56:39 +08:00
WangRunji
9df9d01e68 impl deadlock detection 2019-05-09 22:27:44 +08:00
WangRunji
d28f54ce32 show tid on log 2019-05-09 21:33:26 +08:00
Jiajie Chen
2653069a43 Implement tx for router driver 2019-05-09 17:54:10 +08:00
Jiajie Chen
5932372750 Initial rcore router device support 2019-05-09 17:08:28 +08:00
Harry Chen
324b64c2ed Merge remote-tracking branch 'rcore/dev' into dev 2019-05-09 10:24:12 +08:00
Harry Chen
887a207c8b Run cargo fmt
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-09 10:12:19 +08:00
Harry Chen
5b53e86c41 Merge remote-tracking branch 'origin/dev' into mipsel 2019-05-09 10:05:32 +08:00
WangRunji
75919dce41 x86_64: simplify IPI 2019-05-08 23:07:58 +08:00
Jiajie Chen
2adbc4dcd9 Format code and use rust/sh for rocket chip shell 2019-05-08 20:54:18 +08:00
gjz010
c88c0193d4 x86_64: impl IPI and remote flush tlb
Signed-off-by: WangRunji <wangrunji0408@163.com>
2019-05-08 19:36:10 +08:00
Jiajie Chen
e3595dd0f5 Implement sys_copy_file_range and use it for sendfile 2019-05-08 19:23:07 +08:00
chyyuu
ccc7eea114 add ioctl request id: FIONBIO (no real action, just return Ok(0)). p.s. for rustc 2019-05-08 19:08:04 +08:00
chyyuu
d9d21a3db1 fix bug: sys_futex should not check timeout parameter for musl libc 1.1.22 2019-05-08 16:39:34 +08:00
chyyuu
252449a198 Merge branch 'dev' of github.com:rcore-os/rCore into dev 2019-05-08 13:18:35 +08:00
chyyuu
2fa3338b4f add unimplemented syscall SYS_MEMNARRIER from musl-1.1.22 with pthread OPs 2019-05-08 13:18:04 +08:00
chyyuu
537eecaf5e fix bug: the values of CloneFlags 2019-05-08 13:16:00 +08:00
Jiajie Chen
2e599b0bab Fix Rocket Chip serial interrupt 2019-05-08 11:02:23 +08:00
Yuhao Zhou
77ba66a0a3 Update page table. 2019-05-08 05:41:01 +08:00
Yuhao Zhou
cc5bb8a81f Fix alignment issue in TrapFrame. 2019-05-08 00:31:44 +08:00
equation314
2fb09109bb Fix wrong display in console driver 2019-05-08 00:04:41 +08:00
equation314
03a8b3e449 aarch64: disable FP/SIMD registers again, update crates 2019-05-07 22:37:53 +08:00
Harry Chen
c59cbe0dbc Fix stack alignment problem for MIPS N32 ABI, and fix alignment problem in CharAttribute
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-07 19:50:48 +08:00
Harry Chen
378daa6c9b Fix bugs in Console, repr(C) is TOO EVILgit add src/!
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-05-07 17:23:54 +08:00
Jiajie Chen
2f2cbb81ac Embed rocket chip dtb in code 2019-05-07 08:40:43 +08:00
Yuhao Zhou
59c1746491 Update default shell. 2019-05-07 00:47:10 +08:00
equation314
bfe03b8ea0 aarch64: fix vm clone fault in fork 2019-05-06 23:30:01 +08:00