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:
parent
f73227fe74
commit
459936de7a
|
@ -54,6 +54,12 @@ stage_2_setup_entry:
|
||||||
bits 32
|
bits 32
|
||||||
stage2_protected_entry:
|
stage2_protected_entry:
|
||||||
|
|
||||||
|
push ebp
|
||||||
|
mov ebp, esp
|
||||||
|
call setup_drivers
|
||||||
|
mov esp, ebp
|
||||||
|
pop ebp
|
||||||
|
|
||||||
cli
|
cli
|
||||||
hlt
|
hlt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue