1) fix drivers version

2) fix i_end bug in app loader

git-svn-id: svn://kolibrios.org@287 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2007-01-20 11:25:16 +00:00
parent a646a65def
commit ad7724b20b
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
DRV_ENTRY equ 1 DRV_ENTRY equ 1
DRV_EXIT equ -1 DRV_EXIT equ -1
DRV_COMPAT equ 2 ;minimal required drivers version DRV_COMPAT equ 3 ;minimal required drivers version
DRV_CURRENT equ 2 ;current drivers model version DRV_CURRENT equ 3 ;current drivers model version
DRV_VERSION equ (DRV_COMPAT shl 16) or DRV_CURRENT DRV_VERSION equ (DRV_COMPAT shl 16) or DRV_CURRENT

View File

@ -169,7 +169,7 @@ proc fs_exec stdcall file_name:dword, cmd_line:dword, flags:dword
mov [ebx+APPDATA.mem_size],eax mov [ebx+APPDATA.mem_size],eax
if not GREEDY_KERNEL if not GREEDY_KERNEL
mov ecx, [app_i_end] mov ecx, [app_mem]
mov edi, [file_size] mov edi, [file_size]
add edi, 4095 add edi, 4095
and edi, not 4095 and edi, not 4095