Rev 2441 | Rev 2465 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2441 | Rev 2442 | ||
---|---|---|---|
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 | ||
- | 8 | $Revision: 2442 $ |
|
Line 8... | Line 9... | ||
8 | $Revision: 2441 $ |
9 | |
9 | 10 | ||
Line 1552... | Line 1553... | ||
1552 | xor eax, eax |
1553 | xor eax, eax |
1553 | pop ebx |
1554 | pop ebx |
1554 | .fail: |
1555 | .fail: |
1555 | ret |
1556 | ret |
1556 | endp0>>=> |
1557 | endp |
- | 1558 | ||
- | 1559 | ||
- | 1560 | align 4 |
|
- | 1561 | print_mem: |
|
- | 1562 | mov edi, BOOT_VAR + 0x9104 |
|
- | 1563 | mov ecx, [edi-4] |
|
- | 1564 | test ecx, ecx |
|
- | 1565 | jz .done |
|
- | 1566 | ||
- | 1567 | @@: |
|
- | 1568 | mov eax, [edi] |
|
- | 1569 | mov edx, [edi+4] |
|
- | 1570 | add eax, [edi+8] |
|
- | 1571 | adc edx, [edi+12] |
|
- | 1572 | ||
- | 1573 | DEBUGF 1, "K : E820 %x%x - %x%x type %d\n", \ |
|
- | 1574 | [edi+4], [edi],\ |
|
- | 1575 | edx, eax, [edi+16] |
|
- | 1576 | add edi, 20 |
|
- | 1577 | dec ecx |
|
- | 1578 | jnz @b |
|
- | 1579 | .done: |
|
- | 1580 | ret0>>=> |
|
- | 1581 |