Daniel Bertalan
ef40de9c6c
Kernel: Don't mix AT&T and Intel ASM syntax in boot.S
...
The rest of the file is in AT&T syntax, so for the time being, I'll
switch these instructions to AT&T too to make Clang shut up.
2021-07-14 13:12:25 +02:00
Luke
c94b0e80e7
Kernel: Stop booting and print if PAE is not supported by the processor
...
We currently require PAE and not having it causes us to crash.
This turns that crash into an error message.
2021-07-09 01:29:52 +02:00
Tom
87dc4c3d2c
Kernel: Move PhysicalPage classes out of the heap into an array
...
By moving the PhysicalPage classes out of the kernel heap into a static
array, one for each physical page, we can avoid the added overhead and
easily find them by indexing into an array.
This also wraps the PhysicalPage into a PhysicalPageEntry, which allows
us to re-use each slot with information where to find the next free
page.
2021-07-08 11:43:34 +02:00
Liav A
cc98871383
Kernel: Print if image has become too large again
...
Instead of just disabling interrupts and halting when entering the C++
section, just halt with a printed message indicating the error.
2021-07-07 22:18:36 +02:00
Liav A
8e8a5680d5
Kernel/x86_64: Print if machine doesn't support x86_64 mode
...
We drop to real mode and use two BIOS calls to do this.
2021-07-06 19:01:27 +02:00
Gunnar Beutner
8c14488106
Kernel: Get rid of of some of the duplicate kernel base address macros
2021-07-05 12:28:45 +02:00
Gunnar Beutner
040fe0054b
Kernel: Merge the x86 and x86_64 boot code into a single file
...
They're mostly the same apart from some x86_64-specific parts.
2021-07-05 12:28:45 +02:00
Gunnar Beutner
13e4093da4
Kernel: Move Multiboot header into a separate file
2021-06-25 15:19:09 +02:00