Commit Graph

70 Commits

Author SHA1 Message Date
7d5a2b7a79 [VirtIO] Correct the error code when device not match 2024-10-04 10:28:59 +08:00
f793259512 Avoiding busy loop in sending packet and optimize device caps 2024-09-30 15:03:58 +08:00
4fa0e6334b Add RISC-V base support 2024-09-30 10:02:08 +08:00
839c2a6689 Extract shared code from timer 2024-09-30 10:02:08 +08:00
51334c4a36 Clean up smoltcp dependencies 2024-09-26 15:22:16 +08:00
9a79ecbcbe Clean up the frame buffer state in ostd::mm 2024-09-21 15:38:15 +08:00
2bda8d17c4 Rename some misleading method names 2024-09-17 17:46:56 +08:00
cefeea7b50 Revise IoMem::resize into IoMem::slice 2024-09-17 17:46:56 +08:00
c8ba695c85 Implement VmIoOnce for IoMem 2024-09-17 17:46:56 +08:00
1b9b76d27c Make use of new SpinLock APIs 2024-09-13 21:31:20 +08:00
53ce7df53c Warn instead of panic on long clock update interval 2024-09-12 17:53:14 +08:00
e6f465b553 Replace all the ring buffers with the new one 2024-08-29 00:33:47 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
bb4751741a Bump smoltcp to newest git version 2024-08-22 22:58:36 +08:00
dce796cdde Refactor all io APIs of vfs based on VmReader/VmWriter 2024-08-22 22:54:30 +08:00
2102107be1 Refactor VmReader&VmWriter as given fallibility marker 2024-08-21 22:24:15 +08:00
c44447d54b Refactor the API of spinlocks 2024-08-18 21:06:40 +08:00
364ef48e2f Fix a concurrency bug in clocksource 2024-08-17 17:57:26 +08:00
97fab9edea Prepare aster-time for platform-dependent implementations 2024-08-09 08:53:24 +08:00
8dce83605f Add sys_fallocate 2024-08-08 21:10:38 +08:00
b1ea422efa Fix accesses to VirtIO queue DMA 2024-08-06 11:34:15 +08:00
20a856b07f Revise the naming of all sync/async io APIs 2024-07-30 20:58:07 +08:00
870d542f60 Remove the error of BlkFeatures::MQ to support multi-processor startup
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
ff525112d0 Revise the BlockDevice trait 2024-07-29 13:54:13 +08:00
b1cec501d8 [page_cache] Gap within one page should be filled with zeros in shrink case 2024-07-25 21:31:18 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
3d2a0c33af Clean up the virtio console IRQ handler a bit 2024-07-14 16:43:23 +08:00
a465ec1346 Work around a QEMU bug in virtio console pasting 2024-07-14 16:43:23 +08:00
d43fbd88ba Add documentation to bus 2024-07-09 19:42:15 +08:00
0970adb37b Add documentation to x86/device 2024-07-09 19:42:15 +08:00
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
1b22267a87 Add readahead for pagecache 2024-06-26 20:22:20 +08:00
cda8ffa7da Fix the usage of underscores in Cargo manifest keys 2024-06-21 10:57:08 +08:00
ab1d931cb7 Adjust for Rust unstable feature's stability change 2024-06-21 10:57:08 +08:00
9f67fcdc58 Reuse Rxbuffer and update qemu_args.sh for vsock 2024-06-11 17:51:36 +08:00
646406115e Optimize vsock code structure 2024-06-11 17:51:36 +08:00
60dd17fdd3 Support calling from inside via vsock 2024-06-11 17:51:36 +08:00
48f69c25a9 Support nonblocking option 2024-06-11 17:51:36 +08:00
ad140cec3c Implement vsock socket layer 2024-06-11 17:51:36 +08:00
83a7937334 Make vsock device optional 2024-06-11 17:51:36 +08:00
be45f0ee72 Fix format and clippy errors 2024-06-11 17:51:36 +08:00
52f808e315 Implement vsock driver 2024-06-11 17:51:36 +08:00
33a7da9991 Fix typos in API documentation 2024-06-09 22:57:14 +08:00
c6aa9f9ee8 Limit the number of segments in single bio request 2024-06-05 16:13:59 +08:00
7095b37e7e Refactor the source structure in aster_frame::mm 2024-06-03 22:16:02 +08:00
14e1b1a9fc Rename various concepts related to memory management 2024-06-03 22:16:02 +08:00
c02eacd50c Use deny(unsafe_code) instead of forbid(unsafe_code) 2024-05-31 16:05:58 +08:00
b226928349 Remove the timer module from the aster-frame and adjust the related code 2024-05-20 16:09:27 +08:00
c3d0c59041 Fix the logics for the coarse resolution clock id in VDSO. 2024-05-09 17:34:10 +08:00