Rev 843 | Rev 859 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 843 | Rev 854 | ||
---|---|---|---|
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: 843 $ |
8 | $Revision: 854 $ |
9 | 9 | ||
10 | 10 | ||
Line 573... | Line 573... | ||
573 | shr ecx, 3 |
573 | shr ecx, 3 |
574 | jz .next |
574 | jz .next |
Line 575... | Line 575... | ||
575 | 575 | ||
576 | and ebx, not 7 |
576 | and ebx, not 7 |
577 | push ebx |
577 | push ebx |
578 | stdcall alloc_pages, ebx |
578 | stdcall _alloc_pages, ebx |
579 | pop ecx ; yes ecx!!! |
579 | pop ecx ; yes ecx!!! |
580 | test eax, eax |
580 | test eax, eax |
Line 581... | Line 581... | ||
581 | jz .err |
581 | jz .err |
Line 592... | Line 592... | ||
592 | mov ecx, [pages_count] |
592 | mov ecx, [pages_count] |
593 | and ecx, 7 |
593 | and ecx, 7 |
594 | jz .end |
594 | jz .end |
595 | @@: |
595 | @@: |
596 | push ecx |
596 | push ecx |
597 | call alloc_page |
597 | call _alloc_page |
598 | pop ecx |
598 | pop ecx |
599 | test eax, eax |
599 | test eax, eax |
600 | jz .err |
600 | jz .err |
Line 601... | Line 601... | ||
601 | 601 |