Subversion Repositories Kolibri OS

Rev

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

Rev 1376 Rev 2540
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2009. All rights reserved.      ;;
3
;; Copyright (C) KolibriOS team 2009-2011. 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 21... Line 21...
21
        int     15h
21
        int     15h
22
        jc      no_E820
22
        jc      no_E820
23
        cmp     eax, 0x534D4150
23
        cmp     eax, 0x534D4150
24
        jnz     no_E820
24
        jnz     no_E820
25
e820_mem_loop:
25
e820_mem_loop:
26
        cmp     byte [di+16], 1 ; ignore non-free areas
26
;        cmp     byte [di+16], 1 ; ignore non-free areas
27
        jnz     e820_mem_next
27
;        jnz     e820_mem_next
28
        inc     byte [0x9100]
28
        inc     byte [0x9100]
29
        add     di, 20
29
        add     di, 20
30
e820_mem_next:
30
e820_mem_next:
31
; consequent calls to fn E820
31
; consequent calls to fn E820
32
        test    ebx, ebx
32
        test    ebx, ebx