Rev 928 | Rev 1066 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 928 | Rev 996 | ||
---|---|---|---|
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 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 928 $ |
8 | $Revision: 996 $ |
9 | 9 | ||
10 | EFL_IF equ 0x0200 |
10 | EFL_IF equ 0x0200 |
11 | EFL_IOPL1 equ 0x1000 |
11 | EFL_IOPL1 equ 0x1000 |
Line 430... | Line 430... | ||
430 | mov ecx, [slot] |
430 | mov ecx, [slot] |
431 | shl ecx, 5 |
431 | shl ecx, 5 |
432 | mov [ecx*8+SLOT_BASE+APPDATA.saved_esp], ebx |
432 | mov [ecx*8+SLOT_BASE+APPDATA.saved_esp], ebx |
433 | mov [CURRENT_TASK+ecx+TASKDATA.state], 0 |
433 | mov [CURRENT_TASK+ecx+TASKDATA.state], 0 |
Line 434... | Line 434... | ||
434 | 434 | ||
435 | DEBUGF 1,"%s",new_process_running |
435 | ; DEBUGF 1,"%s",new_process_running |
436 | .err: |
436 | .err: |
437 | mov eax,[process_number] ;set result |
437 | mov eax,[process_number] ;set result |
Line 438... | Line 438... | ||
438 | mov [application_table_status], 0 ;unlock application_table_status mutex |
438 | mov [application_table_status], 0 ;unlock application_table_status mutex |
Line 444... | Line 444... | ||
444 | ret |
444 | ret |
445 | endp |
445 | endp |
Line 446... | Line 446... | ||
446 | 446 | ||
447 | align 4 |
447 | align 4 |
448 | _pe_restart: |
- | |
449 | xchg bx, bx |
448 | _pe_restart: |
450 | add esp, 12 |
449 | add esp, 12 |
451 | popad |
450 | popad |