Rev 465 | Rev 531 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 465 | Rev 523 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 465 $ |
1 | $Revision: 523 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
6 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; Distributed under terms of the GNU General Public License ;; |
Line 214... | Line 214... | ||
214 | mov eax, [ebx+APPDATA.dir_table] |
214 | mov eax, [ebx+APPDATA.dir_table] |
215 | mov cr3, eax |
215 | mov cr3, eax |
216 | mov ebx, [ebx+APPDATA.pl0_stack] |
216 | mov ebx, [ebx+APPDATA.pl0_stack] |
217 | add ebx, RING0_STACK_SIZE |
217 | add ebx, RING0_STACK_SIZE |
218 | mov [tss._esp0], ebx |
218 | mov [tss._esp0], ebx |
- | 219 | push graph_data |
|
- | 220 | pop gs |
|
219 | mov ecx, cr0 |
221 | mov ecx, cr0 |
220 | or ecx, CR0_TS ;set task switch flag |
222 | or ecx, CR0_TS ;set task switch flag |
221 | mov cr0, ecx |
223 | mov cr0, ecx |
222 | inc [context_counter] ;noname & halyavin |
224 | inc [context_counter] ;noname & halyavin |