From 8acd7b0e9509fd2950bd7e1c6db9d60e3c2c699a Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Wed, 6 Mar 2013 13:29:34 +0000 Subject: [PATCH] Fix iglobal directive usage git-svn-id: svn://kolibrios.org@3342 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/sys32-sp.inc | 2 -- kernel/trunk/core/sys32.inc | 12 +++++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/kernel/trunk/core/sys32-sp.inc b/kernel/trunk/core/sys32-sp.inc index 18574fcfc9..b086b5d746 100644 --- a/kernel/trunk/core/sys32-sp.inc +++ b/kernel/trunk/core/sys32-sp.inc @@ -1,6 +1,4 @@ ; ste archivo debe ser editado con codificacin CP866 -iglobal msg_sel_ker db "ncleo", 0 msg_sel_app db "aplicacin", 0 -endg diff --git a/kernel/trunk/core/sys32.inc b/kernel/trunk/core/sys32.inc index 93c1691f36..9a3dd94331 100644 --- a/kernel/trunk/core/sys32.inc +++ b/kernel/trunk/core/sys32.inc @@ -13,10 +13,6 @@ $Revision$ -if lang eq sp -include 'sys32-sp.inc' -end if - align 4 ;3A08 build_interrupt_table: mov edi, idts @@ -78,9 +74,11 @@ iglobal msg_exc_d db "General protection fault", 0 msg_exc_e db "Page fault", 0 - if ~ lang eq sp - msg_sel_ker db "kernel", 0 - msg_sel_app db "application", 0 + if lang eq sp + include 'sys32-sp.inc' + else + msg_sel_ker db "kernel", 0 + msg_sel_app db "application", 0 end if endg