issues
search
DragonOS-Community
/
DragonOS
使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算轻量化场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for lightweight cloud computing scenarios.
https://dragonos.org
GNU General Public License v2.0
817
stars
132
forks
source link
feat(mm): 简单实现fat文件系统的文件映射
#840
Open
MemoryShore
opened
3 days ago
MemoryShore
commented
3 days ago
添加文件映射相关接口,目前已简单实现fat文件系统的私有映射和共享映射
添加msync系统调用(由于当前未实现脏页自动回写,需要手动调用msync进行同步)
简单实现PageCache(暂时使用HashMap进行文件页号与页的映射)
添加新的PageFlags标志结构,原PageFlags改名为EntryFlags
参考linux使用protection_map映射表进行页面标志的获取
Chiichen
commented
3 days ago
@MemoryShore 有一个format check没过
Jomocool
commented
23 hours ago
@MemoryShore 有一部分代码冲突了