Fix wrong memory address in driver manager
The driver manager gave all of the initialization functions a wrong pointer; it wasn't offset to point into the driver memory area. That's fixed now.
This commit is contained in:
parent
40b89c3985
commit
ebb5a4ad92
|
@ -48,6 +48,7 @@ setup_drivers:
|
||||||
mov eax, ecx
|
mov eax, ecx
|
||||||
mov edx, DRIVER_SLOT_SIZE
|
mov edx, DRIVER_SLOT_SIZE
|
||||||
mul edx
|
mul edx
|
||||||
|
add eax, DRIVER_MEMORY_AREA
|
||||||
mov [esi + 12], eax
|
mov [esi + 12], eax
|
||||||
|
|
||||||
push ebp
|
push ebp
|
||||||
|
|
Loading…
Reference in New Issue