From 8390a01a5824958bd520bf8e20f8635f09e1e8c9 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Wed, 16 May 2007 13:43:21 +0000 Subject: [PATCH] slightly decreased kerpack'ed size git-svn-id: svn://kolibrios.org@498 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 2542c0fd47..38b601f87c 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -170,8 +170,6 @@ include "bus/pci/pci16.inc" mov cr0, eax jmp pword os_code:B32 ; jmp to enable 32 bit mode -include "boot/shutdown.inc" ; shutdown or restart - align 8 tmp_gdt: @@ -253,6 +251,13 @@ B32: lgdt [gdts] jmp pword os_code:high_code + +use16 +org $-0x10000 +include "boot/shutdown.inc" ; shutdown or restart +org $+0x10000 +use32 + __DEBUG__ fix 1 __DEBUG_LEVEL__ fix 1 include 'init.inc' @@ -542,7 +547,7 @@ include 'vmodeld.inc' ; LOADING LIBRARES stdcall dll.Load,@IMPORT ; SPraid - загрузка функционала (пока что ини файл) call load_conf_file ; prepare configuration file - call set_kentel_conf ; configure devices and gui + call set_kernel_conf ; configure devices and gui no_lib_load: ; LOAD FONTS I and II