Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@egkoppel
Copy link
Member

@egkoppel egkoppel commented May 5, 2025

  • Expects an envar of init_exec when building, which is the path to an executable to run
  • Adds proper protection API to mmap (unstable)
  • Adds debug serial terminal read function, and corresponding console: server to go along with it (maybe temporary?)
  • Adds full IPC support for in-kernel servers (Root, Console, Proc)
    • core.object.Object, core.io.Read, core.io.Write, core.proc.Proc and core.proc.Thread are all built into the kernel for now
  • init executable is loaded into memory at the end of main and jumped to, with stdin/out/err connected to console:
  • AddressSpace type added to represent a combination of virtual allocator instance and page table

@egkoppel egkoppel marked this pull request as draft May 5, 2025 14:03
@egkoppel egkoppel force-pushed the feature/kernel/userspace_part2 branch from e5d9e46 to 7ebb5df Compare May 5, 2025 14:05
@egkoppel egkoppel marked this pull request as ready for review May 5, 2025 15:32
@egkoppel egkoppel enabled auto-merge May 5, 2025 20:53
@egkoppel egkoppel merged commit 30a6e1c into trunk May 5, 2025
4 of 5 checks passed
@egkoppel egkoppel deleted the feature/kernel/userspace_part2 branch May 5, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants