12 Commits

Author SHA1 Message Date
wash 278fe39c0d vm: implement private and shared address space mappings
whether a mapping is private or shared determines how the mapping is handled
when a task is duplicated.
2026-04-21 21:12:00 +01:00
wash c628390f4a vm: replace vm-region with address-space
address-space is a non-recursive data structure, which contains a flat list of vm_areas representing
mapped vm-objects.

userspace programs can no longer create sub-address-spaces. instead, they can reserve portions of
the address space, and use that reserved space to create mappings.
2026-03-13 19:44:50 +00:00
wash 3f21e888d6 sched: split sched.h into separate header files 2026-03-12 20:30:36 +00:00
wash 18b281debf kernel: bsp: add support for static bootstrap executables 2026-03-06 20:12:12 +00:00
wash fc8cdf62d3 bsp: adjust bsp executable mapping 2026-02-19 19:18:31 +00:00
wash c6e1ba21dd vm: implement direct read/write/copy access to vm-object memory 2026-02-19 19:09:38 +00:00
wash 2f413c603d kernel: all string parameters now take a corresponding length parameter 2026-02-19 19:08:17 +00:00
wash 291a5f677e sched: implement passing arguments to user-mode threads 2026-02-19 19:05:53 +00:00
wash 6019c9307d kernel: separate headers into kernel and user headers
all kernel headers have been moved from include/mango to include/kernel
and include definitions that are only relevant to kernel-space.

any definitions that are relevant to both kernel- and user-space
(i.e. type definitions, syscall IDs) have been moved to
include/mango within libmango.
2026-02-19 18:54:48 +00:00
wash c424e8127e kernel: bsp: update vm-region api usage 2026-02-08 15:52:04 +00:00
wash 409725f9d4 kernel: implementing mapping and execution of bsp executable 2026-02-08 13:13:03 +00:00
wash 129e782e99 kernel: add functions to get/set the bsp boot module location 2026-02-08 11:38:50 +00:00