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
d1990869ae
Make ID allocator a separate crate and use it in the frame
2024-05-09 14:35:12 +08:00
cd3faa8123
Inherit HasDaddr for reference type
2024-04-29 20:33:57 +08:00
a482c87696
Remove add_buf from VirtQueue
2024-04-29 20:33:57 +08:00
2256f6ae8a
Extend Safeptr to support DmaStream
2024-04-29 20:33:57 +08:00
345ab8f838
Add write_vals for VmIo
2024-04-29 20:33:57 +08:00
abb377b695
Replace SpinLock with RwLock in driver callbacks
2024-04-29 20:33:57 +08:00
cd1575bc6d
Refactor virtio drivers with DMA APIs
2024-04-29 20:33:57 +08:00
c875201c3f
Fix deadlocks that may arise after converting virtio-blk to async
...
The IRQ part of the driver must NOT share a SpinLock with
the normal part of the driver unless the SpinLock is acquired
with IRQ disabled in the task context.
2024-04-26 14:36:46 +08:00
349d7baa24
Fix the algorithm error for recycling descriptors in VirtQueue
2024-04-26 14:36:46 +08:00