3e5abada9b
smp: enable smp
...
This is a very large patch. Don't feel like splitting it up.
Change locking discipline for rbtrees. Most changes are this.
Fix stack init logic for application processors, and start them up.
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-08-13 14:11:06 -04:00
b6c9e0a2ba
kernel: move drivers to own file
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-08-11 21:09:36 -04:00
0f7a2e46cc
common: add cleanup define
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-23 02:16:15 -04:00
5692aa8120
main: add global kernel ready bool
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-14 23:35:13 -04:00
750ffa2e16
fs: add ramfs
2026-05-12 07:31:17 -04:00
Michael Shaw
d2ef885e8d
v2 initial commit
2026-04-11 11:35:31 -04:00
Michael Shaw
4ec7ff5aaa
ipc: add fifo
2025-02-12 20:01:48 -05:00
Michael Shaw
b496366469
slab: add umalloc
2025-02-12 17:21:15 -05:00
Michael Shaw
72827c1e00
sched: improve thread handling on system calls
2025-02-11 18:58:00 -05:00
Michael Shaw
89672d02f4
sched: add kthread interface for system calls
2025-02-09 20:56:25 -05:00
Michael Shaw
dfed938383
sched: apply proper blocking mechanism for chardev
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-17 14:09:53 -04:00
Michael Shaw
0f5da3c539
vfs: eliminte writes to NULL error code pointers
2024-02-12 23:59:56 -05:00
Michael Shaw
a10509f1e5
lib: move lib headers into lib directory
2024-01-30 22:00:20 -05:00
Michael Shaw
874e63e41c
tty: add stubs for console_write and console_read
2023-11-29 19:37:04 -05:00
Michael Shaw
2fe0b0068b
sched: begin scheduling module
2023-11-13 22:23:06 -05:00
Michael Shaw
1cf54c7fd3
panic: add panic function
...
also remove print messages from APIC driver
2023-10-27 22:41:10 -04:00
Michael Shaw
aeb2781baf
common: add errno to common include
2023-10-18 20:39:02 -04:00
Michael Shaw
b90946e1f8
mem: adjust MMIO addresses
2023-05-10 01:14:33 -04:00
Michael Shaw
87146087ca
begin ahci driver
2023-05-04 21:47:48 -04:00
Michael Shaw
39c778d2f0
add some asserts
2023-05-04 02:02:17 -04:00
Michael Shaw
577779f8ae
mem: add kmalloc and kfree
2023-04-20 17:03:10 -04:00
Michael Shaw
4f4af0946d
mem: implement buddy allocator
2023-04-12 13:58:22 -04:00
Michael Shaw
84b40e3eda
mem: add type paddr_t
2023-03-05 17:10:08 -05:00
Michael Shaw
e1fa7736a1
common.h: add bitwise.h
2023-03-05 04:59:15 -05:00
Michael Shaw
ffddd592da
mem: begin work on pager
2023-03-04 16:46:33 -05:00
Michael Shaw
2b9d76d015
mem: add page entry type
2023-03-01 14:20:13 -05:00
Michael Shaw
644508ee45
Added license identifiers to all files
2023-02-28 22:14:06 -05:00
Michael Shaw
0cc86fc37d
Add support for limine RSDP request
2023-02-27 20:53:41 -05:00
Michael Shaw
ca5351b847
Added support for basic x86 features
...
Includes 'gdt', 'idt' and a serial driver
2023-02-27 18:36:15 -05:00