Rev 1332 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1332 | Rev 1376 | ||
---|---|---|---|
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: 1332 $ |
8 | $Revision: 1376 $ |
9 | 9 | ||
10 | 10 | ||
Line 536... | Line 536... | ||
536 | pages_count dd ? |
536 | pages_count dd ? |
537 | endl |
537 | endl |
Line 538... | Line 538... | ||
538 | 538 | ||
539 | push ebx |
539 | push ebx |
- | 540 | push edi |
|
Line 540... | Line 541... | ||
540 | push edi |
541 | push edx |
541 | 542 | ||
542 | mov eax, [size] |
543 | mov eax, [size] |
543 | add eax, 4095 |
544 | add eax, 4095 |
Line 591... | Line 592... | ||
591 | add edx, 0x1000 |
592 | add edx, 0x1000 |
592 | dec ecx |
593 | dec ecx |
593 | jnz @B |
594 | jnz @B |
594 | .end: |
595 | .end: |
595 | mov eax, [lin_addr] |
596 | mov eax, [lin_addr] |
- | 597 | pop edx |
|
596 | pop edi |
598 | pop edi |
597 | pop ebx |
599 | pop ebx |
598 | ret |
600 | ret |
599 | .err: |
601 | .err: |
600 | xor eax, eax |
602 | xor eax, eax |
- | 603 | pop edx |
|
601 | pop edi |
604 | pop edi |
602 | pop ebx |
605 | pop ebx |
603 | ret |
606 | ret |
604 | endp |
607 | endp |