Jiajie Chen
|
d1d7fe44a7
|
Fix condvar race(maybe)
|
2019-05-23 23:21:02 +08:00 |
|
Jiajie Chen
|
f10421bf83
|
Revert "x86_64: enable interrupt during syscall. set TSS.sp0 through gs."
This reverts commit 72efa797e5 .
|
2019-05-23 23:13:47 +08:00 |
|
WangRunji
|
1a377ca7c3
|
x86_64: update bootloader. fix on real machine
|
2019-05-23 16:46:00 +08:00 |
|
WangRunji
|
9dec0bbda5
|
simplify copy_from_user
|
2019-05-23 13:06:39 +08:00 |
|
Jiajie Chen
|
8b07e7d31c
|
Fix extra parentheses
|
2019-05-23 08:20:00 +08:00 |
|
Jiajie Chen
|
6f5414c531
|
Split router ports into different ifaces
|
2019-05-22 18:25:51 +08:00 |
|
Jiajie Chen
|
20da06add5
|
Fix rcore router for linear mapping
|
2019-05-22 14:37:59 +08:00 |
|
Jiajie Chen
|
c67f00d7ca
|
Use MaybeUninit for uninitialized
|
2019-05-22 14:23:04 +08:00 |
|
equation314
|
e63f11d199
|
console: support \t
|
2019-05-21 00:59:59 +08:00 |
|
equation314
|
97539dd760
|
aarch64: speed up page table map/unmap
1. update crate aarch64, call tlb_invalidate() instead of tlb_invalidate_all() in MapperFlush::flush().
2. reduce user stack size to 1MiB.
|
2019-05-21 00:46:12 +08:00 |
|
equation314
|
52251b2adb
|
aarch64: refactor to linear mapping
TODO:
* `map`, `unmap` is significantly slower than other archs
* set segment permissions for kernel page table in bootloader
|
2019-05-20 21:51:53 +08:00 |
|
Jiajie Chen
|
3cdd3231d8
|
Update enlarge heap and drivers provider
|
2019-05-16 08:47:22 +08:00 |
|
Jiajie Chen
|
41da379593
|
Use new check_and_clone_cstr{,array}
|
2019-05-16 00:49:46 +08:00 |
|
Jiajie Chen
|
14a01cf3fc
|
Implement fixup for mipsel and small fixes
|
2019-05-16 00:28:29 +08:00 |
|
Jiajie Chen
|
6344f80a9b
|
Support efault fixup for riscv
|
2019-05-15 23:12:06 +08:00 |
|
Jiajie Chen
|
92a9674f66
|
Implement efault detection by fixup
|
2019-05-15 22:45:09 +08:00 |
|
Harry Chen
|
a05fabfde5
|
Merge pull request #50 from rcore-os/linear
Refactor paging from recursive mapping to linear mapping
|
2019-05-12 22:30:58 +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 |
|
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 |
|
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
|
ef9a038ef5
|
Update user
Signed-off-by: Harry Chen <i@harrychen.xyz>
|
2019-05-09 11:12:10 +08:00 |
|
Harry Chen
|
a7b9ec3736
|
Bump to latest user, try to fix CI errors
Signed-off-by: Harry Chen <i@harrychen.xyz>
|
2019-05-09 11:02:05 +08:00 |
|
Harry Chen
|
ca8eb86d48
|
Update README
Signed-off-by: Harry Chen <i@harrychen.xyz>
|
2019-05-09 11:01:48 +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 |
|