Rev 431 | Rev 465 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 431 | Rev 434 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 431 $ |
1 | $Revision: 434 $ |
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 157... | Line 157... | ||
157 | cmp al, 9 |
157 | cmp al, 9 |
158 | je .waiting_for_reuse |
158 | je .waiting_for_reuse |
Line 159... | Line 159... | ||
159 | 159 | ||
160 | mov [CURRENT_TASK],ebx |
160 | mov [CURRENT_TASK],ebx |
- | 161 | mov [TASK_BASE],edi |
|
- | 162 | push ebx |
|
- | 163 | shl ebx, 8 |
|
- | 164 | mov ebx, [SLOT_BASE + ebx + APPDATA.pl0_stack] |
|
- | 165 | add ebx, RING0_STACK_SIZE |
|
- | 166 | mov [CURRENT_RING0_ESP], ebx |
|
Line 161... | Line 167... | ||
161 | mov [TASK_BASE],edi |
167 | pop ebx |
162 | 168 | ||
163 | cmp al, 5 |
169 | cmp al, 5 |
164 | jne .noevents |
170 | jne .noevents |