Subversion Repositories Kolibri OS

Rev

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

Rev 266 Rev 270
Line 677... Line 677...
677
           jz test_used
677
           jz test_used
678
           and eax, 0xFFFFF000
678
           and eax, 0xFFFFF000
679
           cmp eax, ecx    ;alloc_size
679
           cmp eax, ecx    ;alloc_size
680
           jb  m_next
680
           jb  m_next
681
 
681
	   jz  @f
-
 
682
 
Line 682... Line 683...
682
           mov edx, esi
683
           mov edx, esi
683
           add edx, ecx
684
           add edx, ecx
684
           sub eax, ecx;
685
           sub eax, ecx;
685
           or eax, FREE_BLOCK
686
           or eax, FREE_BLOCK
686
           shr edx, 12
687
           shr edx, 12
687
           mov [pages_tab+edx*4], eax
688
           mov [pages_tab+edx*4], eax
Line -... Line 689...
-
 
689
 
688
 
690
@@:
689
           or ecx, USED_BLOCK
691
           or ecx, USED_BLOCK
690
           mov [pages_tab+ebx*4], ecx
692
           mov [pages_tab+ebx*4], ecx
691
           shr ecx, 12
693
           shr ecx, 12
692
           dec ecx
694
           dec ecx