Commit Graph

21 Commits

Author SHA1 Message Date
a1f81df263 Remove ostd/src/mm/offset.rs 2025-04-15 09:15:22 +08:00
0d36375dfa Avoid generic_const_exprs feature 2025-03-06 16:35:21 +08:00
983a6af3cc Polish the doc and rename variables in ostd::mm 2024-12-27 12:12:51 +08:00
cdac59beda Implement a new set of physical page APIs 2024-12-27 12:12:51 +08:00
c9a37ccab1 Renaming concepts around pages and frames
This commit renames `Frame` -> `UntypedFrame` and `Page` -> `Frame`.
So do other concepts in the following list:
 - `Segment` -> `UntypedSegment`,
 - `ContPages` -> `Segment`,
 - `DynPage` -> `AnyFrame`,
 - `PageMeta` -> `FrameMeta`,
 - `FrameMeta` -> `UntypedMeta`.

This commit also re-organized the source in the `mm/page` and `mm/frame`
module to accommodate the changes.
2024-12-27 12:12:51 +08:00
81898362b6 Add virtio legacy interface 2024-11-21 19:10:06 +08:00
9965802f65 Disable send callback if sendqueue is not full 2024-11-12 17:47:40 +08:00
909639fd70 Separate SegmentSlice from Segment 2024-10-09 19:23:46 +08:00
c8ba695c85 Implement VmIoOnce for IoMem 2024-09-17 17:46:56 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
b1ea422efa Fix accesses to VirtIO queue DMA 2024-08-06 11:34:15 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +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
a482c87696 Remove add_buf from VirtQueue 2024-04-29 20:33:57 +08:00
cd1575bc6d Refactor virtio drivers with DMA APIs 2024-04-29 20:33:57 +08:00
349d7baa24 Fix the algorithm error for recycling descriptors in VirtQueue 2024-04-26 14:36:46 +08:00
c3c6b0c19d Use Dma APIs for virtio-block driver 2024-04-11 15:22:18 +08:00
d8a841f88a Add DmaBuf for DMA-capable memory areas 2024-04-11 15:22:18 +08:00
e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00