20 Commits (9203a612f8fa159c45145ccd39f5d35fad86c9ee)

Author SHA1 Message Date
Jiajie Chen cf6a7746f4 [WIP] update rv32 linear mapping
6 years ago
Jiajie Chen d66df43ec0 [WIP] rv32 linear mapping
6 years ago
WangRunji cd22273ef9 refactor to linear mapping for x86_64
6 years ago
Jiajie Chen e5894b652c Format code
6 years ago
Jiajie Chen 66af7473eb Do not use alloc::prelude
6 years ago
Jiajie Chen 0edfc07939 Allow page fault handler to bypass process lock and fix thread pool wakeup for exited process
6 years ago
Jiajie Chen a0d9a8b2de Detach driver from the device in sys_map_pci_driver
6 years ago
Jiajie Chen 960ef2e1f8 Implement PCI driver detach and merge NetDriver trait into Driver
6 years ago
Jiajie Chen 5d601c3ea4 Move socket to global, move and merge functions to net/structs.rs
6 years ago
Jiajie Chen 0d2bc0a7d4 Implement irq allocation and use irq number to identify irq source
6 years ago
WangRunji 9e6483f488 refactor driver: make (Net)Driver Sync. may help avoid deadlock?
6 years ago
Jiajie Chen 1a1e39c960 Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
6 years ago
Jiajie Chen 81176e5561 Implement raw socket for ping and add SocketWrapper struct
6 years ago
Jiajie Chen 71336aca5c Redesign NetDriver trait and update drivers
6 years ago
Jiajie Chen 7a3c66a923 Receiving from e1000 driver works
6 years ago
Jiajie Chen 197bebb1d2 Implement pci bus probing and fix a bug in virtio_mmio
6 years ago
Jiajie Chen 8313b8854e cherry-pick virtio improvement from lab8-rv32
6 years ago
WangRunji 1ceb7ae12d use #[repr(C)] instead of #[repr(packed)] to avoid warning
6 years ago
WangRunji 847a1c7576 use core::sync::atomic::fence
6 years ago
WangRunji 047f4ffdcc cherry-pick jiegec's work (#3) from lab8-rv32: virtio drivers, network stack
6 years ago