Commit Graph

31 Commits

Author SHA1 Message Date
743344e3fc Add support for statfs and fstatfs 2023-07-09 11:07:42 +08:00
d692c102ae Support compressed initramfs image 2023-07-03 14:51:10 +08:00
78de1af348 Update spin lock users to lock_irq_disabled() 2023-07-03 13:22:44 +08:00
e2f3932cb8 Add syscall test framwork from gvisor 2023-07-03 13:20:20 +08:00
61c2f6ee82 Refactor the tty output logic 2023-06-27 19:45:01 +08:00
288374ee09 Fix dead lock in canonical mode 2023-06-27 19:45:01 +08:00
4c4366ccb0 Open stdio by opening /dev/tty 2023-06-05 17:34:16 +08:00
7803d9037e Add uninit option for VmAllocOption 2023-06-03 21:10:53 +08:00
7304e06c88 Add virtio net device driver 2023-06-01 14:39:19 +08:00
2985cdced6 Replace Mutex with Spinlock in tty to avoid deadlock 2023-05-31 20:59:01 +08:00
2b59a406a6 Add network syscalls 2023-05-31 11:50:50 +08:00
8719234dc2 Implement tcp&udp socket 2023-05-31 11:50:50 +08:00
f437dc6244 Add network iface 2023-05-31 11:50:50 +08:00
d96fe31e36 Fix typos and add utils 2023-05-31 11:50:50 +08:00
0c9495b726 Extract TRights into crate jinux_rights 2023-05-30 21:32:25 +08:00
6f321ad7b7 Add support for DevFS 2023-05-29 19:02:35 +08:00
cc2ab9d5d4 Add gettimeofday and clock_gettime 2023-05-29 18:53:12 +08:00
7e4a96fcdf Fix the invalid fd for F_GETFL and F_SETFL 2023-05-27 09:10:25 +08:00
41a1cfd169 Add F_GETFL and F_SETFL for fcntl 2023-05-26 11:05:17 +08:00
b34dc85e7e Remove the as_any_ref() function for trait 2023-05-25 15:01:18 +08:00
902b0421c3 Use bootloader to load initramfs 2023-05-25 14:59:49 +08:00
1ae1881240 Add support for select 2023-05-06 17:07:15 +08:00
42ecbe1b04 Change physical address accees to MMIO 2023-05-06 16:51:51 +08:00
a2acf56765 Move some syscall specific structs from fs to syscall module 2023-05-04 17:12:14 +08:00
6cea03b871 Simplify current codes with TryFromNum 2023-05-04 16:49:22 +08:00
aec46295c4 Rewrite the Poller&Pollee with Observer&Subject 2023-05-04 14:41:42 +08:00
2b1ecdcfa6 Add support for epoll 2023-05-04 14:41:42 +08:00
c3152c4978 Rewrite FileTable with SlotVec 2023-05-04 14:41:42 +08:00
0abe40e0f8 Rename DirEntryVec to SlotVec 2023-05-04 14:41:42 +08:00
0fc707d38c Add support for pipe and poll 2023-05-04 14:41:42 +08:00
271a16d492 Reorganize the codebase 2023-04-10 14:49:39 +08:00