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

1216 Commits

Author SHA1 Message Date
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
Jiajie Chen
990bb6a4a1 Implement copy_to_user, use UserPtr in more places 2020-06-19 09:09:42 +08:00
Jiajie Chen
3d9a1a7356 Move clear child tid and remove kstack 2020-06-18 21:07:11 +08:00
Jiajie Chen
252520f336 Fix has_signal_to_do 2020-06-18 20:44:46 +08:00
Jiajie Chen
4613fef11b Rename and add comments to termios 2020-06-17 08:38:33 +08:00
Jiajie Chen
2a914ec011 Merge stdio and tty 2020-06-17 08:25:13 +08:00
Jiajie Chen
af853431d6 Use u8 in stdin 2020-06-17 08:05:24 +08:00
Jiajie Chen
eac5baa2ee Fix commented code 2020-06-16 21:37:56 +08:00
Jiajie Chen
96793936e9 Fix sys_wait4 finally 2020-06-16 20:19:09 +08:00
Jiajie Chen
c6818ccbb6 Store strong ref in PROCESSES, fix sys_wait4 2020-06-16 19:56:45 +08:00
Jiajie Chen
c552765622 Fix sys_wait4 2020-06-16 18:27:54 +08:00
Jiajie Chen
61a000798c Refactor process mod 2020-06-16 17:39:16 +08:00
Jiajie Chen
8bd384d048 Fix vfork 2020-06-16 17:09:44 +08:00
Jiajie Chen
294cbb5b44 Cleanup unused code 2020-06-16 16:16:45 +08:00
Jiajie Chen
9a61b334b1 Fix serial console 2020-06-16 10:02:56 +08:00
Jiajie Chen
4c9e956225 Add event bus for polling stdin 2020-06-16 10:01:22 +08:00
Jiajie Chen
5d05bccdd5 Add UserPtr, rewrite poll by async 2020-06-16 09:31:54 +08:00
Jiajie Chen
bc845fa9ff Fix thread switching 2020-06-15 22:53:12 +08:00
Jiajie Chen
172e2e75e0 Use async for syscall 2020-06-15 20:51:20 +08:00
Jiajie Chen
4cfead4c73 Use trapframe-rs 2020-06-15 19:48:17 +08:00
Jiajie Chen
a73fdde6ac Add executor and naive-timer 2020-06-15 18:38:59 +08:00
jiegec
59428269c7 Re-generate riscv patch on newer nightly 2020-06-15 17:47:44 +08:00
Jiajie Chen
18f862ca48 Upgrade aarch64 for llvm_asm change 2020-06-15 17:28:48 +08:00
Runji Wang
3ae186de10 update dependencies 2020-06-15 17:14:41 +08:00
Jiajie Chen
39ffdbb3e7 Bump to nightly-2020-06-04 and use llvm_asm instead of asm 2020-06-15 16:56:21 +08:00
Jiajie Chen
1c43d6044f Format code 2020-06-15 15:13:09 +08:00
Jiajie Chen
ad97e2ab13 Fix shmget conflict 2020-06-15 15:09:07 +08:00
Jiajie Chen
833faacf83 Merge branch 'master' into pull-30-merge 2020-06-15 15:07:29 +08:00
Runji Wang
eaa3b42f5d clean and refactor code 2020-06-15 12:34:24 +08:00
Jiajie Chen
f85f62dd81 Cleanup unneeded commented code 2020-06-12 09:50:43 +08:00
Chen
1176446f83
Merge branch 'master' into EatenBagpipe-master 2020-06-12 09:47:57 +08:00
Jiajie Chen
2fe309f6c8 Fix compilation for riscv32 2020-06-12 09:33:19 +08:00
Jiajie Chen
56eaa83e79 Fix compilation for aarch64 2020-06-12 09:18:10 +08:00
Jiajie Chen
dfa963ad04 Guard fpe by arch 2020-06-12 09:11:19 +08:00
Jiajie Chen
5b01f1b6ad Add missing functions for riscv 2020-06-12 09:10:25 +08:00
Jiajie Chen
ad4ea951e3 Don't enable kvm by default 2020-06-12 08:53:43 +08:00
Jiajie Chen
12a29297ba Revert part of changes 2020-06-12 08:50:07 +08:00
Liu Xiaoyi
b41147f436
Fixed RISC-V tlb not flushed during context switch
Added a missing SFENCE.VMA
2020-06-08 16:39:46 +08:00
function2-llx
c157890f33 run cargo fmt 2020-06-06 04:27:19 +08:00
function2-llx
3d83f84556 fix sigaltstack 2020-06-06 04:04:50 +08:00
function2-llx
0f2fae8590 pass utime 2020-06-06 02:39:45 +08:00
function2-llx
75967f12c0 user content 2020-06-05 21:52:57 +08:00
宋香君
4d30eeadb1 Merge branch 'master' of github.com:EatenBagpipe/rCore 2020-06-05 16:34:00 +08:00
宋香君
8cb2602416 update initialization for mxcsr register, enable KVM 2020-06-05 16:32:09 +08:00
function2-llx
60100e1e78 stable signal implementation framework 2020-06-05 15:59:04 +08:00
function2-llx
bee5a77e2b fix bug 2020-06-04 19:15:06 +08:00
function2-llx
98d3f83a12 fix ctrl+C 2020-05-31 19:07:54 +08:00
prettykernel
2dfca0c445 fix some compile warnings, and fix deprecated qemu option 2020-05-31 16:06:38 +08:00
function2-llx
4c1650d027 fix some bug; page fault when syscall in signal handler 2020-05-31 06:03:22 +08:00
function2-llx
da5a7993b4 implement ctrl+C 2020-05-30 23:12:25 +08:00
function2-llx
0d3c207cd2 tty 2020-05-30 04:23:04 +08:00
function2-llx
d70b920b1c signal 2020-05-29 17:57:35 +08:00
function2-llx
9a02550bcb fix mxcsr; flock 2020-05-25 05:55:53 +08:00
宋香君
0cce66c876 add mxcsr register in x86_64 2020-05-25 01:48:54 +08:00
function2-llx
5242f21488 fix bug of condvar 2020-05-24 01:19:54 +08:00
function2-llx
b0a80d96ea return error when seek on pipe 2020-05-23 03:49:17 +08:00
function2-llx
b49270a903 fix behavior of sys_exit about child_tid 2020-05-23 02:18:57 +08:00
function2-llx
ff54128273 Merge branch 'master' of github.com:rcore-os/rCore 2020-05-22 23:10:54 +08:00
function2-llx
5c7b637c97 shm 2020-05-16 07:04:42 +08:00
Liu Xiaoyi
0e25fd187d
Fixed QEMU serial interrupt not firing 2020-05-16 01:42:23 +08:00
function2-llx
6253d80e1d fix bug of Condvar::notify: remove from queue when wake up 2020-05-15 21:11:52 +08:00
Liu Xiaoyi
0d41db4991
Fixed noncontiguous frame allocated in DMA initialization 2020-05-15 14:59:03 +08:00
function2-llx
14f418f663 add wait_timeout for condvar, support timeout in futex wait 2020-05-13 19:56:50 +08:00
Liu Xiaoyi
297480e8bd
Reverted modification of Cargo.toml 2020-05-13 15:20:37 +08:00
Liu Xiaoyi
838513e05c
Cargo.lock & format 2020-05-13 15:12:15 +08:00
Liu Xiaoyi
54504eb317
Fixed stack overflow caused by large struct initialization on stack 2020-05-13 05:00:25 +08:00
function2-llx
0c4d53f8d4 fix getdents64: set inode id and file type properly 2020-05-13 02:05:31 +08:00
function2-llx
17b55552d1 Merge branch 'master' of github.com:rcore-os/rCore 2020-05-12 22:07:07 +08:00
function2-llx
db6a8a9015 decrease offset when write fail in getdents64 2020-05-12 19:31:37 +08:00
Chen
cc93de1d25
Merge branch 'master' into fix-nanosleep 2020-05-11 12:35:33 +08:00
Jiajie Chen
14f74aaaeb Let halt quit QEMU with zero exit code 2020-05-11 12:13:49 +08:00
Jiajie Chen
104c0c83e6 Fix 0ns case of nanosleep 2020-05-11 11:55:05 +08:00
function2-llx
64957a6d2e use wrapping add to prevent panic 2020-05-09 11:07:28 +08:00
function2-llx
1aaa2aad20 implement some of semctl; run libc-test 2020-05-09 06:24:22 +08:00
function2-llx
b946f8606d fix fork(dup) 2020-05-08 22:24:42 +08:00
Jiajie Chen
c5a5cc398a Support F_DUPFD_CLOEXEC in fcntl 2020-04-27 12:43:11 +08:00
function2-llx
d32027a645 run make 2020-04-27 03:08:23 +08:00
function2-llx
f98db379ff fix time 2020-04-26 14:20:09 +08:00
function2-llx
6e5e91a10a record time in metadata 2020-04-26 02:04:09 +08:00