Commit Graph

3 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn 21ba34f526
Fix stack growing direction in GDT being swapped
In the GDT, the direction in which the stack grows in x86 has been
ignored; for reserving space on the stack, the ESP register was added
to and for cleaning up that space, ESP was subtracted from. That is
obviously wrong and is fixed with this commit.
2024-08-17 16:46:23 +02:00
Eric-Paul Ickhorn 95faf0cc5a
Add procedure for searching RSDT Pointer (RSDP)
The newly added function only searchs the "RSD PTR "-signature in the
Main BIOS Area, not in the *Extended* BIOS Area. That should be fixed,
but right now, it's of little relevance.
2024-08-14 10:24:16 +02:00
Eric-Paul Ickhorn 1b7ef62c61
Rename legacy boot code for clarity
As the legacy boot code will be abandoned for the time being, it made
sense to rename the folder to indicate the legacy nature of the code.
2024-08-07 10:28:40 +02:00