Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OSKernel2026-StellaOS
  • 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
    • Releases
  • 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
  • StellaOS
  • OSKernel2026-StellaOS
  • Merge requests
  • !14

WIP: mmap/munmap implementation + polyhal fix (local save)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged StellaOS requested to merge fix/mmio-high-va into main May 30, 2026
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 10
  • MapBackend enum (Anonymous/FileBacked) in memory_set.rs
  • MapArea gains backend field, defaults to Anonymous
  • mmap_register() / munmap() on MemorySet
  • handle_page_fault: FileBacked branch reads from inode
  • sys_mmap / sys_munmap in syscall/process.rs
  • PCB gains mmap_base field
  • syscall args extended to [usize; 6]
  • Remove write_volatile debug markers from vendor polyhal change()
  • Fix user/src/linker-riscv64.ld (was broken symlink text)

Known issue: kernel hangs after page table switch — low VA kernel code not mapped in user page table after restore() zeros entries[0..0x100]. Need to investigate high-VA kernel mapping.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/mmio-high-va