Rev 634 | Rev 750 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 634 | Rev 709 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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: 634 $ |
8 | $Revision: 709 $ |
9 | 9 | ||
10 | 10 | ||
Line 223... | Line 223... | ||
223 | mov eax, [ebx+APPDATA.dir_table] |
223 | mov eax, [ebx+APPDATA.dir_table] |
224 | cmp eax, [esi+APPDATA.dir_table] |
224 | cmp eax, [esi+APPDATA.dir_table] |
225 | je @F |
225 | je @F |
226 | mov cr3, eax |
226 | mov cr3, eax |
227 | @@: |
227 | @@: |
228 | mov eax, [ebx+APPDATA.pl0_stack] |
228 | mov eax, [ebx+APPDATA.saved_esp0] |
229 | add eax, RING0_STACK_SIZE |
- | |
230 | mov [tss._esp0], eax |
229 | mov [tss._esp0], eax |
- | 230 | ; mov eax, [ebx+APPDATA.pl0_stack] |
|
- | 231 | ; add eax, RING0_STACK_SIZE |
|
- | 232 | ; mov [tss._esp0], eax |
|
231 | mov ax, graph_data |
233 | mov ax, graph_data |
232 | mov gs, ax |
234 | mov gs, ax |
233 | mov ecx, cr0 |
235 | mov ecx, cr0 |
234 | or ecx, CR0_TS ;set task switch flag |
236 | or ecx, CR0_TS ;set task switch flag |
235 | mov cr0, ecx |
237 | mov cr0, ecx |