map also mp_config into the address space
This commit is contained in:
parent
08bcc19626
commit
a1f07c8027
1 changed files with 10 additions and 0 deletions
|
@ -256,6 +256,16 @@ La:
|
|||
or ebx, 0x00000013
|
||||
mov DWORD [edi], ebx
|
||||
|
||||
; map mp_config
|
||||
mov edi, [eax+4]
|
||||
and edi, 0xFFFFF000
|
||||
shr edi, 9 ; (edi >> 12) * 8
|
||||
add edi, boot_pt
|
||||
mov ebx, [eax+4]
|
||||
and ebx, 0xFFFFF000
|
||||
or ebx, 0x00000013
|
||||
mov DWORD [edi], ebx
|
||||
|
||||
Lb:
|
||||
mov edi, kernel_start
|
||||
shr edi, 9 ; (kernel_start >> 12) * 8
|
||||
|
|
Loading…
Add table
Reference in a new issue