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:
Andrey Halyavin (halyavin) 2005-12-22 11:38:36 +00:00
parent 66f834f6e5
commit 4a0bec74c6

View File

@ -323,6 +323,7 @@ restart_kernel:
restart_kernel_4000: restart_kernel_4000:
cli
mov di,0x1000 ; load kernel image from 0x8000:0 -> 0x1000:0 mov di,0x1000 ; load kernel image from 0x8000:0 -> 0x1000:0
@ -351,9 +352,10 @@ restart_kernel_4000:
mov ax,0x1000 mov ax,0x1000
mov es,ax mov es,ax
mov ax,0x2000 mov ax,0x3000
mov ss,ax mov ss,ax
mov sp,0xff00 mov sp,0xec00
sti
jmp 0x1000:0000 jmp 0x1000:0000