forked from KolibriOS/kolibrios
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:
parent
a646a65def
commit
ad7724b20b
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user