a2c89df195
kernel: convert some verbose log messages to trace messages
2026-03-21 10:27:23 +00:00
35949fa8db
vm: object: ensure page request offets are page-aligned
2026-03-21 10:27:03 +00:00
d6c84565af
x86_64: cmake: ensure the kernel is built as a static binary
2026-03-21 10:26:12 +00:00
4551e7b2e6
sched: implement various ways to end tasks and threads
2026-03-18 21:07:43 +00:00
e03b2e07d0
vm: address-space: implement address space cleanup
2026-03-18 21:07:27 +00:00
24f9ef85bf
sched: implement user-configurable fs and gs segment base addresses
2026-03-18 21:07:05 +00:00
63703a3d34
sched: don't reschedule a thread if its status is THREAD_STOPPED
2026-03-18 21:02:40 +00:00
d801203f04
syscall: vm-object: fix dangling reference to newly-created object
2026-03-18 21:02:19 +00:00
2a1a0cf14d
kernel: finish implementation of private and shared futexes
2026-03-18 21:02:09 +00:00
b774415f64
sched: wait: implement wakeup_n, waitqueue_empty
2026-03-18 20:56:15 +00:00
04d05adbe8
kernel: handle: implement handle_table_destroy()
2026-03-18 20:55:35 +00:00
c0e212ac98
x86_64: panic: fix incorrect kernel stack traversal
2026-03-18 20:54:49 +00:00
88405233a8
vm: object: implement object cleanup
2026-03-18 20:53:56 +00:00
42a293e753
x86_64: pmap: implement pmap_destroy()
2026-03-18 20:53:24 +00:00
1eef23ea98
thread: store struct msg on the stack instead of in the thread
2026-03-18 20:52:47 +00:00
30c9c9db45
kernel: add futex definitions
2026-03-15 22:22:58 +00:00
c1e0b38952
vm: object: add missing include
2026-03-15 22:22:43 +00:00
8a38d940cc
vm: address-space: add function to translate virtual addresses to physical
2026-03-15 22:22:25 +00:00
a2e918c428
vm: evict PTE entries for transferred vm-object pages
2026-03-15 14:40:24 +00:00
399742cabf
x86_64: pmap: implement pmap_remove
2026-03-15 14:38:32 +00:00
cef4af53c9
x86_64: add pre-processor token to control hardware rng
2026-03-15 14:38:11 +00:00
0af35c70ef
vm: implement demand-paging via userspace services with vm-controller
2026-03-14 22:39:14 +00:00
f04c524bb5
vm: object: implement transferring pages between objects
2026-03-14 22:38:14 +00:00
5d04dbb15a
kerne: object: add lock_pair() functions to object lock template macro
2026-03-14 22:32:59 +00:00
a146f4a750
syscall: fix some missed-signal bugs in kern_object_wait
2026-03-14 22:32:26 +00:00
2d267d2b51
kernel: add a syscall to duplicate a handle
2026-03-14 22:31:37 +00:00
b7f3bd77a7
libmango: update syscall definitions
2026-03-14 22:29:29 +00:00
a50826eb15
x86_64: implement stack traces for user-mode stacks
2026-03-14 22:28:24 +00:00
62bdb51618
kernel: add functions to lock/unlock a pair of locks without saving irq flags
2026-03-14 22:25:15 +00:00
115a2e7415
x86_64: enable interrupts during pmap_handle_fault
...
interrupts will need to be enable to allow for requesting missing pages from userspace
services.
2026-03-14 22:23:43 +00:00
e73a5c41ce
sched: fix thread_awaken manipulating a runqueue without locking it
2026-03-14 22:23:07 +00:00
89dac0c951
sched: add a thread flag to indicate when a thread is scheduled on a runqueue
...
this prevents runqueue corruption that can occur if rq_enqueue is called on
a thread that's already on a runqueue.
2026-03-14 22:22:05 +00:00
7c630ece54
sched: add wait begin/end functions that don't change thread state
...
these functions can be used when waiting on multiple queues at once, to prevent
the thread state from being changed unexpectedly while initialising a set of wait items.
2026-03-14 22:20:10 +00:00
72145257de
x86_64: generate a seed for the RNG with RDRAND when available
2026-03-14 22:18:47 +00:00
d2203d9a65
kernel: replace random number generator with mersenne twister
2026-03-14 22:16:56 +00:00
5e7a467dff
kernel: printk: fix log buffer overflow
2026-03-14 22:16:01 +00:00
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
c6b0bee827
kernel: wire dispatcher for kern_object_wait
2026-03-12 20:43:21 +00:00
f67d3a0cb9
libmango: update syscall definitions
2026-03-12 20:42:50 +00:00
6ba236b2fe
kernel: resolving a handle now increments the refcount of the corresponding object
2026-03-12 20:42:05 +00:00
5a37b5e148
kernel: handle: handle_table_transfer now ignores items with KERN_HANDLE_INVALID
2026-03-12 20:41:01 +00:00
2fb8f556b4
kernel: implement a generic object signalling system
2026-03-12 20:40:23 +00:00
921c91c02a
vm: add vm-controller object
2026-03-12 20:39:28 +00:00
3fd608b623
kernel: add equeue object
...
equeue is a way for the kernel to deliver events to userspace programs.
2026-03-12 20:37:51 +00:00
7d4cede788
misc: adjust formatting
2026-03-12 20:34:31 +00:00
3f21e888d6
sched: split sched.h into separate header files
2026-03-12 20:30:36 +00:00
de520cdd2d
libmango: types: add macro to define a kern_msg_handle_t
2026-03-10 19:08:49 +00:00
e84ed6057d
channel: fix incorrect offset used in channel_write_msg
2026-03-10 19:08:20 +00:00
1d4cb882a8
libmango: types: add ssize_t definition
2026-03-06 20:12:32 +00:00
18b281debf
kernel: bsp: add support for static bootstrap executables
2026-03-06 20:12:12 +00:00