mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-22 17:01:40 +03:00
Bug leading to crash during restart from memory fixed
git-svn-id: svn://kolibrios.org@30 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
66f834f6e5
commit
4a0bec74c6
@ -323,6 +323,7 @@ restart_kernel:
|
||||
|
||||
|
||||
restart_kernel_4000:
|
||||
cli
|
||||
|
||||
mov di,0x1000 ; load kernel image from 0x8000:0 -> 0x1000:0
|
||||
|
||||
@ -351,9 +352,10 @@ restart_kernel_4000:
|
||||
|
||||
mov ax,0x1000
|
||||
mov es,ax
|
||||
mov ax,0x2000
|
||||
mov ax,0x3000
|
||||
mov ss,ax
|
||||
mov sp,0xff00
|
||||
mov sp,0xec00
|
||||
sti
|
||||
|
||||
jmp 0x1000:0000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user