mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
- 添加文件映射相关接口,目前已简单实现fat文件系统的私有映射和共享映射 - 添加msync系统调用(由于当前未实现脏页自动回写,需要手动调用msync进行同步) - 简单实现PageCache(暂时使用HashMap进行文件页号与页的映射) - 添加新的PageFlags标志结构,原PageFlags改名为EntryFlags - 参考linux使用protection_map映射表进行页面标志的获取 - 添加页面回收机制 - 添加页面回收内核线程 - 缺页中断使用的锁修改为irq_save; 添加脏页回写机制 - 修复do_cow_page死锁问题 - 访问非法地址时发送信号终止进程 - 修复重复插入反向vma表的错误 - 添加test_filemap文件映射测试程序
24 lines
402 B
Plaintext
24 lines
402 B
Plaintext
{
|
|
"name": "test_filemap",
|
|
"version": "0.1.0",
|
|
"description": "测试filemap",
|
|
"task_type": {
|
|
"BuildFromSource": {
|
|
"Local": {
|
|
"path": "apps/test_filemap"
|
|
}
|
|
}
|
|
},
|
|
"depends": [],
|
|
"build": {
|
|
"build_command": "make install"
|
|
},
|
|
"clean": {
|
|
"clean_command": "make clean"
|
|
},
|
|
"install": {
|
|
"in_dragonos_path": "/bin"
|
|
},
|
|
"target_arch": ["x86_64"]
|
|
}
|