Subversion Repositories Kolibri OS

Rev

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

Rev 1289 Rev 1332
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2009. 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: 1289 $
8
$Revision: 1332 $
9
 
9
 
10
 
10
 
Line 138... Line 138...
138
           mov [ebx+list_bk], eax
138
           mov [ebx+list_bk], eax
139
           mov [ebx+block_base], HEAP_BASE+4096*MEM_BLOCK_SIZE
139
           mov [ebx+block_base], HEAP_BASE+4096*MEM_BLOCK_SIZE
Line 140... Line 140...
140
 
140
 
141
           mov ecx, [pg_data.kernel_pages]
141
           mov ecx, [pg_data.kernel_pages]
142
           shl ecx, 12
142
           shl ecx, 12
143
           sub ecx, HEAP_BASE+4096*MEM_BLOCK_SIZE
143
           sub ecx, HEAP_BASE-OS_BASE+4096*MEM_BLOCK_SIZE
144
           mov [heap_size], ecx
144
           mov [heap_size], ecx
145
           mov [heap_free], ecx
145
           mov [heap_free], ecx
146
           mov [ebx+block_size], ecx
146
           mov [ebx+block_size], ecx