Subversion Repositories Kolibri OS

Rev

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

Rev 1453 Rev 1454
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 1453 $
8
$Revision: 1454 $
9
 
9
 
10
 
10
 
Line 225... Line 225...
225
           add ebx, 20
225
           add ebx, 20
226
           dec edx
226
           dec edx
227
           jnz .scanmap
227
           jnz .scanmap
Line 228... Line 228...
228
 
228
 
229
; mark kernel memory as allocated (unavailable)
229
; mark kernel memory as allocated (unavailable)
230
           mov ecx, [tmp_page_tabs]
230
           mov ecx, (UPPER_KERNEL_PAGES-OS_BASE)/4096
231
           mov edx, [pg_data.pages_count-OS_BASE]
-
 
232
           shr ecx, 12
-
 
233
           add ecx, [pg_data.kernel_tables-OS_BASE]
231
           mov edx, [pg_data.pages_count-OS_BASE]
234
           sub edx, ecx
232
           sub edx, ecx
Line 235... Line 233...
235
           mov [pg_data.pages_free-OS_BASE], edx
233
           mov [pg_data.pages_free-OS_BASE], edx
236
 
234