Commit graph

20 commits

Author SHA1 Message Date
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
623daf58ed
arch: disable cpu extensions
we don't use that in kernel mode to speed up
context switching, and noone needs floats and
such in the kernel anyway.
2021-09-21 03:34:25 +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
6ac206051a
kernel: add main 2021-09-19 04:58:48 +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
70b970e275
x86: forgot data section in linker script 2021-09-19 04:46:35 +02:00
fef
27c516b896
boot: remove framebuffer tag, fix bug
We will only work in raw character mode for now,
it's probably gonna take a *lot* of time until
we have an actual VGA driver qwq
2021-09-19 04:45:32 +02:00
fef
3a8887ad51
vscode: update c config and add settings 2021-09-19 04:15:48 +02:00
fef
8f54584493
boot: use correct align for mb2 header 2021-09-18 16:58:17 +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
fef
8f2b378f7c
add template config for vs code 2021-09-17 19:50:21 +02:00
fef
55e5ad90f6
fix license url 2021-09-14 21:51:46 +02:00
fef
6c44a66b55
initial commit uwu 2021-09-13 18:51:51 +02:00