Michael Shaw
14a681c53e
string: add strsplit
2023-05-09 23:00:07 -04:00
Michael Shaw
7ca418ff10
stdio: add snprintf
...
this implementation is terrible but it works for now
2023-05-09 21:51:14 -04:00
Michael Shaw
c99880cd61
stdio: increase number buffer size
2023-05-07 15:58:27 -04:00
Michael Shaw
39c778d2f0
add some asserts
2023-05-04 02:02:17 -04:00
Michael Shaw
605507a688
pci: add simple pci driver
...
this driver only prints devices on the pci bus.
2023-05-03 23:55:54 -04:00
Michael Shaw
e1108b3493
mem: improve slabbing to include flags
2023-04-29 16:54:12 -04:00
Michael Shaw
281fb8ef9d
string: optimize memset
2023-04-29 00:44:11 -04:00
Michael Shaw
9222a373fc
buddy: replace free-lists with binary tree
...
before this patch, the buddy allocator used a hybrid bitmap-freelist
approach where free would use the bitmap to determine size, but all
other operations we O(n) traversals of the free-list.
now, both alloc and free use the bitmap exclusively for allocation.
2023-04-29 00:15:50 -04:00
Michael Shaw
43d36f8703
math: add SPDX-License-Identifiers
...
Add the GPL-2.0-only license identifier to the top of these source files
2023-04-19 17:37:56 -04:00
Michael Shaw
4f4af0946d
mem: implement buddy allocator
2023-04-12 13:58:22 -04:00
Michael Shaw
fe93196a01
remove atoi test
2023-03-24 03:45:11 -04:00
Michael Shaw
2694098d62
printf: mv lib/printf.c lib/stdio.c
2023-03-15 03:35:17 -04:00
Michael Shaw
f001be171c
console: add console_resize()
2023-03-15 03:32:47 -04: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
977ea64457
stdio: fixed the 'x' case in printf
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-02-28 22:05:03 -05:00
Michael Shaw
b8599a4e8e
Add madt_entry_types and print out value
2023-02-28 17:24:32 -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
0cc86fc37d
Add support for limine RSDP request
2023-02-27 20:53:41 -05:00