Subversion Repositories Kolibri OS

Rev

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

Rev 4429 Rev 4432
Line 119... Line 119...
119
        mov     esp, [ebx+APPDATA.saved_esp]
119
        mov     esp, [ebx+APPDATA.saved_esp]
120
; set new thread io-map
120
; set new thread io-map
121
        Mov     dword [page_tabs+((tss._io_map_0 and -4096) shr 10)],eax,[ebx+APPDATA.io_map]
121
        Mov     dword [page_tabs+((tss._io_map_0 and -4096) shr 10)],eax,[ebx+APPDATA.io_map]
122
        Mov     dword [page_tabs+((tss._io_map_1 and -4096) shr 10)],eax,[ebx+APPDATA.io_map+4]
122
        Mov     dword [page_tabs+((tss._io_map_1 and -4096) shr 10)],eax,[ebx+APPDATA.io_map+4]
123
; set new thread memory-map
123
; set new thread memory-map
124
        mov     ecx, APPDATA.process
124
        mov     eax, [ebx+APPDATA.process]
125
        mov     eax, [ebx+ecx]      ;offset>0x7F
-
 
126
        cmp     eax, [esi+ecx]      ;offset>0x7F
125
        cmp     eax, [current_process]
127
        je      @f
126
        je      @f
-
 
127
        mov     [current_process], eax
128
        mov     eax, [eax+PROC.pdt_0_phys]
128
        mov     eax, [eax+PROC.pdt_0_phys]
129
        mov     cr3, eax
129
        mov     cr3, eax
130
@@:
130
@@:
131
; set tss.esp0
131
; set tss.esp0