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.
This commit is contained in:
Eric-Paul Ickhorn 2024-08-17 18:57:49 +02:00
parent f73227fe74
commit 459936de7a
Signed by: epickh
GPG Key ID: 1358818BAA38B104
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@ stage_2_setup_entry:
bits 32
stage2_protected_entry:
push ebp
mov ebp, esp
call setup_drivers
mov esp, ebp
pop ebp
cli
hlt