Bananymous
|
a42af7e973
|
Kernel: boot.S is back to 2 MiB pages
bochs doesn't seem to support 1 GiB pages
|
2023-06-03 18:53:36 +03:00 |
Bananymous
|
eafa09fecf
|
Kernel: boot.S maps GiB as single pdpte
|
2023-05-31 00:51:15 +03:00 |
Bananymous
|
57f7da6ce1
|
Kernel: Booting with higher half kernel gets to Heap initialization
|
2023-05-30 22:21:12 +03:00 |
Bananymous
|
93e6455171
|
Kernel: start work on higher half kernel
|
2023-05-30 08:00:17 +03:00 |
Bananymous
|
265fe9c62e
|
Kernel: We now identity map full GiB in boot.S
The paging structure is pre-built so no unnecessary calculations are done
|
2023-05-30 00:08:52 +03:00 |
Bananymous
|
2de64b592d
|
Kernel: Kmalloc now has its memory statically allocated
We don't use the memory map given by bootloader since this automatically
maps the memory to a available space.
|
2023-04-18 10:18:15 +03:00 |
Bananymous
|
df8811fc1a
|
Kernel: Remove "a" from .section .text
|
2023-03-07 01:57:09 +02:00 |
Bananymous
|
06db890d49
|
Kernel: Add ubsan
My brain has been melting since I'm getting very random bugs.
I hope I can debug them better with ubsan :)
|
2023-03-06 23:38:05 +02:00 |
Bananymous
|
7fcbb869e1
|
Kernel: Initialize GDT in kernel code
We dont use the boot GDT only while booting
|
2023-03-01 21:21:56 +02:00 |
Bananymous
|
7f8cad83b1
|
Kernel: x86_64 boot script now makes GDT with null, kernel code and data
|
2023-03-01 21:21:56 +02:00 |
Bananymous
|
cb3b62d665
|
Kernel: Only allocate single GDT entry during boot.S
When we need more, we should probably initialize rest of them
in cpp code
|
2023-01-31 18:43:09 +02:00 |
Bananymous
|
6418d7cfc3
|
Kernel: Add Other GDT entries to x86_64
|
2023-01-26 12:53:04 +02:00 |
Bananymous
|
b315fdc27f
|
Kernel: Finally managed to get 64-bit working
I had weird problems with interrupts but everything should work now
|
2023-01-25 19:19:28 +02:00 |