Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OSKernel2025-SC7
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 智核速启队
  • OSKernel2025-SC7
  • Merge requests
  • !25

[feat] 添加了ext4文件系统

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Crzax requested to merge czx into master Apr 27, 2025
  • Overview 0
  • Commits 9
  • Pipelines 0
  • Changes 105

[feat]

  1. Makefile添加了ext4磁盘生成的命令,以后需要测试的elf可以放到/tmp/cases下,然后拿到就行
  2. 添加了ext4处理,主要是移植了lwext4,然后写了VFS_EXT4和VFS,目前打开文件,创建文件 ,读取文件,写入文件,关闭文件经过测试,没有问题。其他的后面碰到再完善

[bug] loongarch的virtio一定要有那个打印的交换语句,不然不知道为什么写入有问题,太奇怪了

[todo] 由于我test_fs()是在forkret中测试的(filesysteminit不能在main函数中用),这个东西好像是内核态的所以补充了一个isforkret的全局变量,这样eithercopyin和eithercopyout就是用memmove直接挪了。后面也需要删掉。

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: czx