Subversion Repositories Kolibri OS

Rev

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

Rev 6319 Rev 6339
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2007-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2007-2015. 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: 6319 $
8
$Revision: 6339 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 105... Line 105...
105
@@:
105
@@:
106
        stosd
106
        stosd
107
        add     eax, edx
107
        add     eax, edx
108
        loop    @b
108
        loop    @b
Line 109... Line 109...
109
 
109
 
-
 
110
        mov     eax, sys_proc
-
 
111
        push    ebx
110
        mov     eax, [sys_proc+PROC.pdt_0_phys]
112
 ;       call    set_cr3
111
        mov     cr3, eax
113
        pop     ebx
Line 112... Line 114...
112
        popfd
114
        popfd
Line 113... Line 115...
113
 
115