Commit Graph

18 Commits

Author SHA1 Message Date
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
9e4257b655 Fix multiple issues pointed out by the new compiler 2024-10-13 22:32:05 +08:00
4fa0e6334b Add RISC-V base support 2024-09-30 10:02:08 +08:00
aae9fdb331 Add assembly memset for fast filling zeros 2024-08-28 18:06:04 +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
562e644375 Clarify some safety conditions of Vm{Reader,Writer} 2024-08-21 09:34:21 +08:00
cda23937dd Introduce {read,write}_once 2024-08-06 11:34:15 +08:00
79578c9aa0 Use the plural form in # Panic 2024-08-06 11:34:15 +08:00
dee7734073 Fix a missed write_volatile in VmWriter 2024-08-06 11:34:15 +08:00
00b9bf9610 Fix assertion failure constructing VmReaders from zero sized slices 2024-07-25 13:20:09 +08:00
71a486b9a5 Bye, FrameVec 2024-07-20 20:56:29 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
28f5480f70 Add notes about the volatile memory copy 2024-07-08 15:03:23 +08:00
b7a3f1a540 Use volatile copy in VmReader/VmWriter 2024-06-28 20:23:24 +08:00
09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00