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

1867 Commits

Author SHA1 Message Date
Runji Wang
9d82b29517 move wait_for_interrupt from executor to kernel 2020-06-24 00:09:52 +08:00
Jiajie Chen
7479293a11 Cleanup code 2020-06-23 20:59:04 +08:00
Jiajie Chen
0290937833 Code cleanup 2020-06-23 20:46:36 +08:00
Jiajie Chen
d895f43d9a Fix bcm2837 serial 2020-06-23 19:59:36 +08:00
Jiajie Chen
55de8e6dcf Move raspi drivers out of arch, fix aarch64 trap handling and add spec.md 2020-06-22 22:51:32 +08:00
Jiajie Chen
a56e2b54e0 Fix is_page_fault in aarch64 2020-06-22 18:48:43 +08:00
Jiajie Chen
62de55de9d Use wrappers from riscv 2020-06-22 11:52:12 +08:00
Jiajie Chen
3aaaa28c41 Remove k210, until we are able to test on it again 2020-06-22 11:44:43 +08:00
Jiajie Chen
433c28bc5b Minor update 2020-06-22 11:41:27 +08:00
Jiajie Chen
d08c14152b Fix aarch64 2020-06-21 23:36:48 +08:00
equation314
e218399113 aarch64: add bcm2835 sdhci as block driver
Now can load user programs from the SD card, but too slow to read/write
2020-06-21 18:55:29 +08:00
Jiajie Chen
458347c1c0 Fix aarch64 compilation 2020-06-21 15:54:15 +08:00
Jiajie Chen
fd59658355 Unify trap_handler interfaces 2020-06-21 11:38:31 +08:00
Jiajie Chen
1560e1c3f8 Fix riscv smp, maybe 2020-06-21 11:16:44 +08:00
Jiajie Chen
93f376ee8d Move sigset, add missing sfence_vma_all 2020-06-21 10:58:37 +08:00
Jiajie Chen
0086768392 Use tp to save hart id in riscv 2020-06-21 10:43:53 +08:00
Jiajie Chen
698732105b Set interrupt bits in plic 2020-06-21 08:59:15 +08:00
Jiajie Chen
61def0f1c9 Register uart16550 interrupt to plic 2020-06-21 08:53:09 +08:00
Jiajie Chen
5006ef952f Initial irq manager and add device tree registry 2020-06-21 08:04:49 +08:00
Jiajie Chen
d7def80d82 Remove unused rocket chip code 2020-06-20 23:04:37 +08:00
Jiajie Chen
3fd2d0b349 Remove unused router code and cleanup 2020-06-20 22:58:13 +08:00
Jiajie Chen
8ead1f85e8 Fix riscv fork 2020-06-20 22:47:20 +08:00
Jiajie Chen
f74eaeb11f Remove sbi console 2020-06-20 22:29:15 +08:00
Jiajie Chen
3ac4d7a607 Fix riscv external interrupt 2020-06-20 22:25:34 +08:00
Jiajie Chen
b3f86cc3d1 Use uart16550 as serial in riscv as well 2020-06-20 22:06:45 +08:00
Jiajie Chen
548495a149 Enable signal in riscv 2020-06-20 17:40:51 +08:00
Jiajie Chen
4971713518 Enable floating point in riscv 2020-06-20 17:37:09 +08:00
Jiajie Chen
b94b6aa09e Fix riscv interrupt 2020-06-20 17:16:57 +08:00
Jiajie Chen
57d923c1f9 Fix compilation for riscv 2020-06-20 16:53:18 +08:00
Jiajie Chen
88544bdd3c Move keyboard to drivers 2020-06-20 16:13:08 +08:00
Jiajie Chen
9732f2148d Move serial to drivers completely 2020-06-20 15:43:39 +08:00
Jiajie Chen
7644694158 Move COM1 to drivers 2020-06-20 15:13:52 +08:00
Jiajie Chen
5cc8e825ef Move rtc_cmos to drivers 2020-06-20 14:50:38 +08:00
Jiajie Chen
31bb2a839a Remove IDE 2020-06-20 14:38:05 +08:00
Jiajie Chen
c8573436e9 Split Driver trait 2020-06-20 14:35:59 +08:00
Jiajie Chen
d9234ccb4a More arch specific code cleanup 2020-06-20 14:07:44 +08:00
Jiajie Chen
08fc526521 Port to riscv #1 2020-06-20 10:06:35 +08:00
Jiajie Chen
fbc8757c22 Implement futex timeout 2020-06-20 07:55:20 +08:00
Jiajie Chen
f0c418e969 Fix sleeping and cleanup 2020-06-19 23:07:41 +08:00
Jiajie Chen
8bc8ab19e2 Add missing woken in futex 2020-06-19 21:30:26 +08:00
Jiajie Chen
4af73f5650 Fix sys_clone 2020-06-19 21:27:40 +08:00
Jiajie Chen
c5095f2316 Re implement futex by async, fix clone 2020-06-19 21:13:18 +08:00
Jiajie Chen
7672dd45e3 Add thread table, allocate tid instead of pid 2020-06-19 18:53:33 +08:00
Jiajie Chen
c230cd7b63 Make read() async 2020-06-19 14:20:12 +08:00
Jiajie Chen
17ba8d6262 Fix sys_exec when failed early 2020-06-19 13:56:23 +08:00
Jiajie Chen
dca8f3f598 Eliminate vm locking because vmtoken won't change 2020-06-19 13:02:17 +08:00
Jiajie Chen
39e750517c Re-construct vm in place in sys_exec 2020-06-19 12:59:12 +08:00
Jiajie Chen
e8046ec728 Fix ucore badarg 2020-06-19 11:37:08 +08:00
Jiajie Chen
33291ff5d3 Fix user fixup handling 2020-06-19 11:34:23 +08:00
Jiajie Chen
274addfc34 Fix page switching problem 2020-06-19 11:01:11 +08:00