Subversion Repositories Kolibri OS

Rev

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

Rev 662 Rev 663
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: 662 $
8
$Revision: 663 $
9
 
9
 
Line 80... Line 80...
80
           xor eax, eax
80
           xor eax, eax
81
           ret
81
           ret
82
.ok:
82
.ok:
83
           sub ecx, edi
83
           sub ecx, edi
84
           inc ecx
84
           inc ecx
-
 
85
           push esi
85
           mov esi, edi
86
           mov esi, edi
86
           xor eax, eax
87
           xor eax, eax
87
           rep stosb
88
           rep stosb
88
           sub esi, sys_pgmap
89
           sub esi, sys_pgmap
89
           shl esi, 3+12
90
           shl esi, 3+12
90
           mov eax, esi
91
           mov eax, esi
91
           mov ebx, [count]
92
           mov ebx, [count]
92
           shl ebx, 3
93
           shl ebx, 3
93
           sub [pg_data.pages_free], ebx
94
           sub [pg_data.pages_free], ebx
-
 
95
           pop esi
94
           pop edi
96
           pop edi
95
           pop ebx
97
           pop ebx
96
           popfd
98
           popfd
97
           ret
99
           ret
98
endp
100
endp