Subversion Repositories Kolibri OS

Rev

Rev 864 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 864 Rev 928
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
 
3
 
Line 4... Line 4...
4
include '../macros.inc'
4
include '../macros.inc'
Line 5... Line 5...
5
 
5
 
Line 6... Line 6...
6
$Revision: 864 $
6
$Revision: 928 $
7
 
7
 
Line 22... Line 22...
22
public _poweroff
22
public _poweroff
23
 
23
 
Line 24... Line 24...
24
public _bx_from_load
24
public _bx_from_load
Line 25... Line 25...
25
 
25
 
Line 26... Line 26...
26
extrn __setvars
26
extrn core_init
Line 27... Line 27...
27
 
27
 
Line 62... Line 62...
62
include "bootcode.inc"    ; 16 bit system boot code
62
include "bootcode.inc"    ; 16 bit system boot code
63
include "../bus/pci/pci16.inc"
63
include "../bus/pci/pci16.inc"
64
include "../detect/biosdisk.inc"
64
include "../detect/biosdisk.inc"
Line 65... Line -...
65
 
-
 
66
 
65
 
Line 67... Line 66...
67
           cli
66
           cli
68
 
67
 
69
           mov eax, cr0
68
           mov eax, cr0
Line 70... Line 69...
70
           or eax, CR0_PG+CR0_WP+CR0_PE
69
           or eax, CR0_PG+CR0_WP+CR0_PE
71
           mov cr0, eax
-
 
72
 
-
 
73
           jmp pword 0x08:__setvars
-
 
74
 
-
 
75
 
-
 
76
;align 4
-
 
77
;_leave_16bit:
-
 
78
;
-
 
79
;           cli
-
 
80
;           mov eax, cr0
-
 
Line 81... Line 70...
81
;           or eax, CR0_PG+CR0_WP+CR0_PE
70
           mov cr0, eax
82
;           mov cr0, eax
71
 
83
;           hlt
72
           jmp pword 0x10:core_init
84
 
73