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 |
|
PanQL
|
f8c88baeea
|
nonblock stdin for mgba keyboard support
|
2019-05-20 10:28:27 +08:00 |
|
BenjaminPMLovegood
|
469e866dca
|
Merge branch 'geminilab' of github.com:GeminiLab/rCore into geminilab
|
2019-05-20 03:14:51 +08:00 |
|
BenjaminPMLovegood
|
e9588086be
|
sd_init
|
2019-05-20 03:14:37 +08:00 |
|
NagiNikaido
|
62654b99f9
|
SEND_SCR done & bug fixed.
|
2019-05-20 00:22:53 +08:00 |
|
PanQL
|
f9734b6134
|
mmap support for mgba's partical redraw
|
2019-05-19 17:09:05 +08:00 |
|
PanQL
|
545d9d301c
|
use copy_from_slice to speed up
|
2019-05-17 00:53:23 +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
|
fbca9a6e3a
|
Add conditional compilation for mipsel, fix heap size for thinpad
Signed-off-by: Harry Chen <i@harrychen.xyz>
|
2019-05-14 00:21:04 +08:00 |
|
Harry Chen
|
22d29a6257
|
Revert "Revert "Fix trapframe.""
This reverts commit 6a83de7846 .
|
2019-05-14 00:11:25 +08:00 |
|
Harry Chen
|
6544093dc6
|
Revert "Revert "Save/restore FP registers when context switching (broken mipsel arch)""
This reverts commit b8f4ee2ce8 .
|
2019-05-14 00:11:22 +08:00 |
|
Harry Chen
|
b8f4ee2ce8
|
Revert "Save/restore FP registers when context switching (broken mipsel arch)"
This reverts commit d261b4e0b3 .
|
2019-05-13 23:53:52 +08:00 |
|
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 |
|
PanQL
|
9e4a3f9662
|
create virtual vga file, now can draw fb on user state
|
2019-05-13 20:57:03 +08:00 |
|
Harry Chen
|
6b7aa5ae59
|
Bump user to latest version
Signed-off-by: Harry Chen <i@harrychen.xyz>
|
2019-05-13 20:18:28 +08:00 |
|
NagiNikaido
|
8c3323c4d4
|
mutex added.
|
2019-05-13 13:47:33 +08:00 |
|
NagiNikaido
|
edf9cf1225
|
nearly done. it seems that the architecture is not applausible. rust sucks.
|
2019-05-13 05:04:18 +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 |
|
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 |
|
PanQL
|
9ac8f1b887
|
some work for console-vga(1024*7683) adaption
|
2019-05-12 01:43:02 +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 |
|
PanQL
|
66b783de21
|
should not be so rude
|
2019-05-10 14:56:14 +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 |
|