From ad7724b20b8941051553804ee772ad11e7aa8803 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sat, 20 Jan 2007 11:25:16 +0000 Subject: [PATCH] 1) fix drivers version 2) fix i_end bug in app loader git-svn-id: svn://kolibrios.org@287 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/dll.inc | 4 ++-- kernel/trunk/core/taskman.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/core/dll.inc b/kernel/trunk/core/dll.inc index d3bd59d72d..0cf16a12d3 100644 --- a/kernel/trunk/core/dll.inc +++ b/kernel/trunk/core/dll.inc @@ -1,8 +1,8 @@ DRV_ENTRY equ 1 DRV_EXIT equ -1 -DRV_COMPAT equ 2 ;minimal required drivers version -DRV_CURRENT equ 2 ;current drivers model version +DRV_COMPAT equ 3 ;minimal required drivers version +DRV_CURRENT equ 3 ;current drivers model version DRV_VERSION equ (DRV_COMPAT shl 16) or DRV_CURRENT diff --git a/kernel/trunk/core/taskman.inc b/kernel/trunk/core/taskman.inc index bf104e2f7a..e65439f641 100644 --- a/kernel/trunk/core/taskman.inc +++ b/kernel/trunk/core/taskman.inc @@ -169,7 +169,7 @@ proc fs_exec stdcall file_name:dword, cmd_line:dword, flags:dword mov [ebx+APPDATA.mem_size],eax if not GREEDY_KERNEL - mov ecx, [app_i_end] + mov ecx, [app_mem] mov edi, [file_size] add edi, 4095 and edi, not 4095