Commit Graph

7 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn 459936de7a
Call driver setup function in protected entry
The driver manager's function for initializing all builtin drivers is
now being called in the 'stage2_protected_entry'-function, a function
that is called once the GDT is set up and calls all other functions
to get the system to boot.
2024-08-17 18:57:49 +02:00
Eric-Paul Ickhorn f73227fe74
Fix two syntax errors in ACPI utilities
The first one was a stray letter 'Z' somewhere in the source.
The second one was an error due to some changes being half-done; an
assembly label that did not yet exist was used.

Those two errors are fixed now.
2024-08-17 17:06:09 +02:00
Eric-Paul Ickhorn 916d7bd030
Initialize ACPI driver in manager
The previous commit said that this is being done, but it didn't have
the changes in the driver manager. Those are here.
2024-08-17 17:01:20 +02:00
Eric-Paul Ickhorn 2923a300b5
Write some ACPI stubs
The ACPI driver is not required yet, but some stubs have already been
added to the sources; only to test the driver initialization function
of the driver manager.
2024-08-17 16:52:17 +02:00
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