Commit graph vbos/Makefile
Author SHA1 Message Date
Michael Shaw
4e36cfd90b lib: add rbtree data structure
This also switches the kmalloc allocator over to the new rbtree
structure. As a balanced binary search tree, it is much more efficient
than the previous method
2023-05-10 21:24:19 -04:00
Michael Shaw
14a681c53e string: add strsplit 2023-05-09 23:00:07 -04:00
Michael Shaw
39c778d2f0 add some asserts 2023-05-04 02:02:17 -04:00
Michael Shaw
1fe7b002cf Makefile: O0->O2 2023-04-29 15:17:11 -04:00
Michael Shaw
addf96aae7 mem: fix bug with slab_create
before this would overwrite into the next region, which would cause an
error at `buddy_alloc_helper` as the region overridden was the `len`
field of a `struct buddy_free_list`
2023-04-20 21:43:43 -04:00
Michael Shaw
c1628a90d0 Makefile: change O0 to O2 2023-04-20 17:05:23 -04:00
Michael Shaw
98c99b1780 mem: reorganize buddy.c 2023-04-14 09:03:01 -04:00
Michael Shaw
4f4af0946d mem: implement buddy allocator 2023-04-12 13:58:22 -04:00
Michael Shaw
d5f388208c mem: formatting fix 2023-03-09 01:59:21 -05:00
Michael Shaw
705abf3234 mem: fixed memory mapping bugs with kmap
function `kmap` is now capable of reliably mapping physical addresses to
virtual addresses

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-03-04 22:42:08 -05:00
Michael Shaw
ffddd592da mem: begin work on pager 2023-03-04 16:46:33 -05:00
Michael Shaw
e59763a078 Makefile: Remove unncessary nasm stuff 2023-02-28 22:38:09 -05:00
Michael Shaw
2146b49bb3 added rsdt parse functionality
this function prints out the RSDT entries present in the system
2023-02-27 22:55:06 -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
Michael Shaw
bae9ffa930 Initial commit 2023-02-27 14:14:37 -05:00