Subversion Repositories Kolibri OS

Rev

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

Rev 1292 Rev 1333
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: 1292 $
8
$Revision: 1333 $
9
 
9
 
10
 
10
 
Line 248... Line 248...
248
; if (F == B)
248
; if (F == B)
249
; ms.smallmap &=  ~(1<< I);
249
; ms.smallmap &=  ~(1<< I);
250
           shr ecx, 3
250
           shr ecx, 3
251
           cmp eax, edx
251
           cmp eax, edx
252
           jne @F
252
           jne @F
253
           and [mst.smallmap], ecx
253
           btr [mst.smallmap], ecx
254
@@:
254
@@:
255
           mov [eax+12], edx           ;F->bk = B;
255
           mov [eax+12], edx           ;F->bk = B;
256
           mov [edx+8], eax            ;B->fd = F
256
           mov [edx+8], eax            ;B->fd = F
257
           jmp .next
257
           jmp .next
258
.unlink_large:
258
.unlink_large:
Line 762... Line 762...
762
malloc_large:
762
malloc_large:
763
.idx equ esp+4
763
.idx equ esp+4
764
.rst equ esp
764
.rst equ esp
Line 765... Line 765...
765
 
765
 
-
 
766
           push ebp
766
           push ebp
767
           push esi
767
           push edi
768
           push edi
768
           sub esp, 8
769
           sub esp, 8
769
; v = 0;
770
; v = 0;
Line 968... Line 969...
968
           mov [ebp+4], ecx
969
           mov [ebp+4], ecx
969
           or dword [eax], 1
970
           or dword [eax], 1
970
           lea eax, [ebp+8]
971
           lea eax, [ebp+8]
971
           add esp, 8
972
           add esp, 8
972
           pop edi
973
           pop edi
-
 
974
           pop esi
973
           pop ebp
975
           pop ebp
974
           ret
976
           ret
Line 975... Line 977...
975
 
977
 
Line 993... Line 995...
993
           call insert_chunk
995
           call insert_chunk
Line 994... Line 996...
994
 
996
 
995
           lea eax, [ebp+8]
997
           lea eax, [ebp+8]
996
           add esp, 8
998
           add esp, 8
-
 
999
           pop edi
997
           pop edi
1000
           pop esi
998
           pop ebp
1001
           pop ebp
Line 999... Line 1002...
999
           ret
1002
           ret
1000
 
1003
 
1001
.done:
1004
.done:
-
 
1005
           add esp, 8
1002
           add esp, 8
1006
           pop edi
1003
           pop edi
1007
           pop esi
1004
           pop ebp
1008
           pop ebp
Line 1005... Line 1009...
1005
           xor eax, eax
1009
           xor eax, eax