Commit graph

15 commits

Author SHA1 Message Date
fef
3f73072153
types.h: use rust-style naming scheme, add bools 2021-09-28 01:24:43 +02:00
fef
8129518640
mm: replace GRUB's GDT with our own 2021-09-28 00:48:19 +02:00
fef
3d6258a06e
mm: implement runtime page mapping 2021-09-23 20:51:12 +02:00
fef
17320f2571
boot: enable paging in boot sequence 2021-09-22 03:50:55 +02:00
fef
d436d9b203
mm: add page frame allocator 2021-09-21 18:25:54 +02:00
fef
2a0ed8121a
util: refactor misc utility stuff 2021-09-21 17:34:27 +02:00
fef
8fb2f7987c
kprintf: fix vararg bug
Turns out you can't pass a va_list to subroutines
as per the C standard, even though it worked
perfectly fine on ARM.  Well then, the entire
kprintf thing needs to be refactored anyway at
some point in the future, so that more formatting
options are supported.
2021-09-20 18:02:13 +02:00
fef
25e00354ec
x86/boot: move multiboot code to arch 2021-09-20 17:59:15 +02:00
fef
89e7a4eb47
clist: add circular list api 2021-09-20 02:03:01 +02:00
fef
a34fd6caaa
config: include version and git revision 2021-09-19 16:39:05 +02:00
fef
4bf2c2505f
boot: display rainbow on boot 2021-09-19 04:50:48 +02:00
fef
2af5fad52f
kernel: add kprintf() api 2021-09-19 04:50:24 +02:00
fef
2bcb3242da
add misc utility headers 2021-09-19 04:48:40 +02:00
fef
dda4dde950
libc: add string operations for libc 2021-09-19 04:48:20 +02:00
fef
c7eb58b930
boot: add basic multiboot support
Turns out writing your own bootloader from scratch
is something you probably don't wanna be bothered
with when your main goal is writing an entire
operating system.  Blessed be the souls of the
maniacs who gave us GRUB, and punched be their
faces for writing such inconsistent documentation.
2021-09-18 16:48:46 +02:00