diff --git a/kernel/trunk/const.inc b/kernel/trunk/const.inc index 894553aac9..f45398903b 100644 --- a/kernel/trunk/const.inc +++ b/kernel/trunk/const.inc @@ -258,8 +258,6 @@ SLOT_BASE = OS_BASE + 0x0080000 VGABasePtr = OS_BASE + 0x00A0000 -UPPER_KERNEL_PAGES = OS_BASE + 0x0400000 - virtual at OS_BASE + 0x05FFF80 tss TSS end virtual diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index 9bbedb9416..5eb1f55f3c 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -1974,9 +1974,9 @@ align 4 ;-------------------------------------- align 4 .move_others_down: - ; ax <- process no + ; bx <- process no movzx ebx, word[esi] - ; ax <- position in window stack + ; bx <- position in window stack movzx ebx, word[WIN_STACK + ebx * 2] ; drop others