Subversion Repositories Kolibri OS

Rev

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

Rev 9227 Rev 9958
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2020-2021. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2020-2024. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;; Version 2, or (at your option) any later version.            ;;
5
;; Version 2, or (at your option) any later version.            ;;
6
;;                                                              ;;
6
;;                                                              ;;
7
;; Written by Ivan Baravy                                       ;;
7
;; Written by Ivan Baravy                                       ;;
8
;;                                                              ;;
8
;;                                                              ;;
Line 22... Line 22...
22
MEMORY_MAP_SIZE = 0x4000
22
MEMORY_MAP_SIZE = 0x4000
23
GOP_BUFFER_SIZE = 0x100
23
GOP_BUFFER_SIZE = 0x100
24
LIP_BUFFER_SIZE = 0x100
24
LIP_BUFFER_SIZE = 0x100
25
FILE_BUFFER_SIZE = 0x1000
25
FILE_BUFFER_SIZE = 0x1000
Line 26... Line -...
26
 
-
 
27
KERNEL_BASE  =  0x10000
-
 
28
RAMDISK_BASE = 0x100000
26
 
Line 29... Line 27...
29
MAX_FILE_SIZE = 0x10000000
27
MAX_FILE_SIZE = 0x10000000
30
 
28
 
Line 648... Line 646...
648
 
646
 
649
        mov     eax, cr4
647
        mov     eax, cr4
650
        and     eax, not CR4_PAE
648
        and     eax, not CR4_PAE
Line 651... Line 649...
651
        mov     cr4, eax
649
        mov     cr4, eax
-
 
650
 
-
 
651
        mov     eax, KERNEL_BASE
-
 
652
        ; add the 32-bit entry point
652
 
653
        add     eax, [eax+kernel_header.b32_offset]
Line 653... Line 654...
653
        push    KERNEL_BASE
654
        push    eax
654
        retn
655
        retn
655
 
656