1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-27 02:03:29 +04:00
Commit Graph

47 Commits

Author SHA1 Message Date
Jiajie Chen
28aaae53b9 Refactor ioctl numbers and add FIOCLEX 2019-05-03 11:33:56 +08:00
WangRunji
6883127d5a update fs. add BlockCache 2019-05-03 00:35:00 +08:00
Jiajie Chen
feae733bb9 Implement poll for pipes 2019-05-02 15:52:56 +08:00
Jiajie Chen
64b383b69c Save path even in release mode 2019-05-02 15:47:10 +08:00
Jiajie Chen
ad2f02388c Fix compilation on mipsel 2019-05-02 15:18:41 +08:00
Jiajie Chen
81fde731d0 Save and log file paths on sys_open and sys_close 2019-05-02 15:07:06 +08:00
WangRunji
6c988c4bfd note potential lost wakeup problem in Condvar. fix some use case. 2019-05-01 23:37:07 +08:00
Jiajie Chen
8651f09b31 Automatically enlarge heap when kernel heap is about to run out 2019-05-01 18:33:55 +08:00
WangRunji
c885ea6d77 impl pseudo INode '/proc/self/exe' 2019-04-30 17:37:18 +08:00
WangRunji
a25c8132fe delay mapping file 2019-04-30 15:02:52 +08:00
WangRunji
45c2ec0b17 works on K210! 2019-04-21 23:48:46 +08:00
Jiajie Chen
cf3fd0ec93 Fix ioctl numbers and sys_poll for mipsel 2019-04-21 15:45:26 +08:00
WangRunji
e01d23e526 replace riscv-pk by OpenSBI ! 2019-04-20 00:15:55 +08:00
Jiajie Chen
ff50a45396 Now ready to use busybox sh for user shell 2019-04-17 08:16:02 +08:00
Jiajie Chen
9b6e963b19 Add missing constants 2019-04-17 01:01:11 +08:00
Jiajie Chen
69449d4eb1 Pretend stdin/stdout as a tty 2019-04-17 00:44:11 +08:00
Jiajie Chen
41dab25f9c Merge remote-tracking branch 'origin/master' into dev 2019-04-09 20:30:30 +08:00
Yuhao Zhou
f535073fbc Support user thread. 2019-04-07 02:45:41 +08:00
Harry Chen
48864bd79b Add more output to backtrace, revert fs change, update rust-mips
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 14:43:10 +08:00
Yuhao Zhou
6038004576 Add page table lookup in pagefault. 2019-04-06 11:59:22 +08:00
Yuhao Zhou
9a9e8048cb Move text base to higher location to avoid colliding with qemu BIOS 2019-04-06 03:22:26 +08:00
WangRunji
a712f37c65 update fs. support poll for INode. 2019-04-05 23:20:17 +08:00
Jiajie Chen
55df9ca892 Initial support for ioctl SIOCGARP 2019-04-04 21:38:32 +08:00
Jiajie Chen
2da17d7fcd Replace IDE with AHCI driver 2019-03-30 10:03:08 +08:00
WangRunji
1ffd44cde0 HUGE REFACTOR net module 2019-03-29 13:23:49 +08:00
WangRunji
b836b11792 reformat code using cargo fmt 2019-03-27 18:45:24 +08:00
Jiajie Chen
e3fb47a03e Remove m-mode and k210 support. 2019-03-26 08:28:10 +08:00
Jiajie Chen
285ffc7618 Move absolute/relative path resolution to rcore-fs, implement dummy sys_fchown, sys_fchownat and sys_symlinkat 2019-03-24 18:25:13 +08:00
Jiajie Chen
556d263d8e Implement sys_openat and sys_renameat 2019-03-24 00:36:13 +08:00
Jiajie Chen
547baa9ecd Implement symlink following 2019-03-23 15:47:44 +08:00
WangRunji
b9a7888290 update fs. impl sys_sync, sys_rmdir. fix sys_unlink. 2019-03-20 16:59:47 +08:00
WangRunji
1c5effae04 move hard link user asm to Rust 2019-03-16 16:54:24 +08:00
Jiajie Chen
71808b49f5 Initial ixgbe driver capable of receiving frames 2019-03-14 09:30:43 +08:00
WangRunji
40ac510ecd fix compile on riscv & aarch64 2019-03-12 11:49:17 +08:00
Jiajie Chen
b590545375 Implement sys_pwrite, sys_accept4 and dummy sys_chown, sys_epoll_create1. Allow recvfrom for tcp 2019-03-08 18:03:46 +08:00
Jiajie Chen
35dad6853f Enable SSE and save FP registers in trapframe, implement sys_pread, sys_uname and sys_sched_getaffinity, support FIXED in mmap 2019-03-08 14:24:20 +08:00
Jiajie Chen
cca53536d1 Implement sys_pipe, fix sys_chdir, add dummy sys_setuid, and set an ephermal port when binding port 0 2019-03-07 19:31:46 +08:00
Jiajie Chen
42b02453a0 Implement basic version of sys_poll supporting stdin and socket, fix some deadlocks and introduce some others 2019-03-06 20:24:55 +08:00
WangRunji
0fd24ff92e impl sys_f(data)sync, sys_(f)truncate, sys_(un)link 2019-03-02 23:16:11 +08:00
WangRunji
472dac5d09 fix sys_getdent64. pass ls in coreutils & busybox 2019-03-02 17:17:57 +08:00
WangRunji
8ab991ebe1 remove global ActivePageTable, because it's CPU local 2019-03-02 11:19:47 +08:00
Jiajie Chen
71336aca5c Redesign NetDriver trait and update drivers 2019-02-28 12:31:10 +08:00
WangRunji
4e146ec491 impl sys_lseek 2019-02-26 17:01:38 +08:00
WangRunji
cab19688d5 rename File to FileHandle. impl create for sys_open. 2019-02-26 01:44:13 +08:00
WangRunji
6e8a0e20ab fix device compile error, update crate pc_keyboard 2019-02-22 21:15:05 +08:00
WangRunji
08c8d89974 update SFS to new rcore-fs 2019-02-22 17:10:57 +08:00
WangRunji
cf9ac9ccfd split fs mod 2019-02-22 13:08:40 +08:00