Make stage 2 entry (after GDT) call driver setup
The driver setup, which in turn calls all the drivers' setup functions wasn't being called until now. Now, it is included and being called. The test text which was used to test some display functions in older revisions is also gone now.
This commit is contained in:
parent
94e5e70305
commit
6e8e022937
|
@ -46,9 +46,6 @@ stage_2_setup_entry:
|
||||||
cli
|
cli
|
||||||
hlt
|
hlt
|
||||||
|
|
||||||
some_text:
|
|
||||||
db "This is some text.", 0x00
|
|
||||||
|
|
||||||
; Utilities
|
; Utilities
|
||||||
; Memory Management
|
; Memory Management
|
||||||
%include "memory/a20.asm"
|
%include "memory/a20.asm"
|
||||||
|
@ -58,13 +55,18 @@ some_text:
|
||||||
|
|
||||||
bits 32
|
bits 32
|
||||||
stage2_true_entry:
|
stage2_true_entry:
|
||||||
mov [dword 0xb8000], byte 'X'
|
push ebp
|
||||||
mov [dword 0xb8000 + 1], byte 0x31
|
mov ebp, esp
|
||||||
|
call setup_drivers
|
||||||
|
mov esp, ebp
|
||||||
|
pop ebp
|
||||||
|
|
||||||
cli
|
cli
|
||||||
hlt
|
hlt
|
||||||
|
|
||||||
%include "utility/math.asm"
|
%include "utility/math.asm"
|
||||||
%include "utility/memory.asm"
|
%include "utility/memory.asm"
|
||||||
|
%include "utility/display.asm"
|
||||||
|
|
||||||
; Driver Manager
|
; Driver Manager
|
||||||
; %include "drivers/manager.asm"
|
%include "drivers/manager.asm"
|
||||||
|
|
Loading…
Reference in New Issue