From 5f677e4407e003064cbbe96ea14710f48661b670 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Wed, 21 Oct 2020 19:58:55 +0000 Subject: [PATCH] Remove unused macro and fix a comment. git-svn-id: svn://kolibrios.org@8115 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/const.inc | 2 -- kernel/trunk/gui/window.inc | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/const.inc b/kernel/trunk/const.inc index 894553aac..f45398903 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 9bbedb941..5eb1f55f3 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