Michael Shaw
f92e88597d
sched: fix page faulting on process switching
...
This is the first version of the kernel with fully isolated threads for
user and kernel tasks, where process 0 is only used for scheduling and
interrupt handling.
User process have a "buddy" kernel process that handles its tasks in the
kernel.
This system allows for easy blocking of threads without much need for
thought. Just `sswtch` in an infinite read loop, and your userspace
process will be blocked.
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2025-02-11 21:11:49 -05:00
..
acpi.h
continue ahci development
2023-05-06 21:30:05 -04:00
bitwise.h
Added license identifiers to all files
2023-02-28 22:14:06 -05:00
block.h
block: link child partitions to parent bdev
2024-03-02 00:35:50 -05:00
char.h
dev: remove console driver, merge into serial
2024-06-17 20:32:44 -04:00
common.h
sched: improve thread handling on system calls
2025-02-11 18:58:00 -05:00
elf.h
elf: correctly load data segment
2023-11-22 20:15:24 -05:00
gdt.h
syscall: enable fast syscall instruction
2024-06-27 13:11:50 -04:00
gpt.h
slab: replace struct slab with slab_t
2023-05-19 16:49:34 -04:00
idt.h
usr: implement user process switching
2023-11-20 22:07:35 -05:00
irq.h
irq: make IRQs dynamically mappable
2023-05-04 22:10:23 -04:00
lock.h
kernel: add support for basic type spinlock_t
2023-05-27 01:44:33 -04:00
mem.h
syscall: implement fork fully
2024-08-21 15:10:16 -04:00
msr.h
syscall: set MSR_IA32_FMASK to disable RFLAGS.IF
2024-06-27 14:59:55 -04:00
pio.h
pci: add simple pci driver
2023-05-03 23:55:54 -04:00
proc.h
sched: fix page faulting on process switching
2025-02-11 21:11:49 -05:00
rbtree.h
proc: free pages and fds after proc termination
2023-11-22 21:55:52 -05:00
ringbuf.h
dev: remove console driver, merge into serial
2024-06-17 20:32:44 -04:00
slab.h
slab: add krealloc
2024-02-07 22:31:08 -05:00
syscall.h
syscall: adjust kernel blocking mechanism
2024-06-26 23:48:39 -04:00
trap.h
trap: explicitly handle certain exceptions
2024-06-13 22:51:18 -04:00
umem.h
sched: apply proper blocking mechanism for chardev
2024-06-17 14:09:53 -04:00