mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
Kernel: fix stack selector
git-svn-id: svn://kolibrios.org@5790 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ce24ad0376
commit
86fb4bfe83
@ -176,7 +176,7 @@ if defined extended_primary_loader
|
||||
mov [bootfs], bx
|
||||
|
||||
; set up stack
|
||||
mov ax, TMP_STACK_TOP shr 16
|
||||
mov ax, (TMP_STACK_TOP and 0xF0000) shr 4
|
||||
mov ss, ax
|
||||
mov sp, TMP_STACK_TOP and 0xFFFF
|
||||
|
||||
@ -293,7 +293,7 @@ else
|
||||
no_hd_load:
|
||||
|
||||
; set up stack
|
||||
mov ax, TMP_STACK_TOP shr 16
|
||||
mov ax, (TMP_STACK_TOP and 0xF0000) shr 4
|
||||
mov ss, ax
|
||||
mov sp, TMP_STACK_TOP and 0xFFFF
|
||||
; set up segment registers
|
||||
|
Loading…
Reference in New Issue
Block a user