Subversion Repositories Kolibri OS

Rev

Rev 840 | Rev 848 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 840 Rev 843
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 840 $
8
$Revision: 843 $
Line 9... Line 9...
9
 
9
 
Line 378... Line 378...
378
     if GREEDY_KERNEL
378
     if GREEDY_KERNEL
379
	   lea eax, [ecx+ebx+2]    ;only image size
379
	   lea eax, [ecx+ebx+2]    ;only image size
380
     else
380
     else
381
	   lea eax, [eax+ebx+2]    ;all requested memory
381
	   lea eax, [eax+ebx+2]    ;all requested memory
382
     end if
382
     end if
383
	   cmp eax, [pg_data.pages_free]
383
      ;     cmp eax, [pg_data.pages_free]
384
	   ja .fail
384
      ;     ja .fail
Line 385... Line 385...
385
 
385
 
386
	   call alloc_page
386
	   call alloc_page
387
	   test eax, eax
387
	   test eax, eax
388
	   jz .fail
388
	   jz .fail