Subversion Repositories Kolibri OS

Rev

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

Rev 5363 Rev 5376
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 5363 $
8
$Revision: 5376 $
9
 
9
 
10
 
10
 
Line 114... Line 114...
114
; set tss.esp0
114
; set tss.esp0
Line 115... Line 115...
115
 
115
 
Line 116... Line 116...
116
        Mov     [tss._esp0],eax,[ebx+APPDATA.saved_esp0]
116
        Mov     [tss._esp0],eax,[ebx+APPDATA.saved_esp0]
117
 
-
 
118
        mov     edx, [ebx+APPDATA.tls_base]
-
 
Line 119... Line 117...
119
        cmp     edx, [esi+APPDATA.tls_base]
117
 
120
        je      @f
118
        mov     edx, [ebx+APPDATA.tls_base]
121
 
119
 
122
        mov     [tls_data_l+2], dx
120
        mov     [tls_data_l+2], dx
Line 123... Line 121...
123
        shr     edx, 16
121
        shr     edx, 16
124
        mov     [tls_data_l+4], dl
122
        mov     [tls_data_l+4], dl
125
        mov     [tls_data_l+7], dh
123
        mov     [tls_data_l+7], dh
126
 
124
 
127
        mov     dx, app_tls
125
        mov     dx, app_tls
128
        mov     fs, dx
126
        mov     fs, dx
129
@@:
127
 
130
; set gs selector unconditionally
128
; set gs selector unconditionally