Subversion Repositories Kolibri OS

Rev

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

Rev 8858 Rev 8866
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2021. 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: 8858 $
8
$Revision: 8866 $
9
 
9
 
10
align 4 ;3A08
10
align 4 ;3A08
11
build_interrupt_table:
11
build_interrupt_table:
Line 627... Line 627...
627
        xor     eax, eax
627
        xor     eax, eax
628
        rep stosd
628
        rep stosd
Line 629... Line 629...
629
 
629
 
630
  ; activate window
630
  ; activate window
631
        movzx   eax, word [WIN_STACK + esi*2]
631
        movzx   eax, word [WIN_STACK + esi*2]
632
        cmp     eax, [TASK_COUNT]
632
        cmp     eax, [thread_count]
633
        jne     .dont_activate
633
        jne     .dont_activate
634
        pushad
634
        pushad
635
 .check_next_window:
635
 .check_next_window:
636
        dec     eax
636
        dec     eax
Line 717... Line 717...
717
        mov     [edi+CURRENT_TASK + TASKDATA.state], byte 9
717
        mov     [edi+CURRENT_TASK + TASKDATA.state], byte 9
718
; debugger test - terminate all debuggees
718
; debugger test - terminate all debuggees
719
        mov     eax, 2
719
        mov     eax, 2
720
        mov     ecx, SLOT_BASE+2*0x100+APPDATA.debugger_slot
720
        mov     ecx, SLOT_BASE+2*0x100+APPDATA.debugger_slot
721
.xd0:
721
.xd0:
722
        cmp     eax, [TASK_COUNT]
722
        cmp     eax, [thread_count]
723
        ja      .xd1
723
        ja      .xd1
724
        cmp     dword [ecx], esi
724
        cmp     dword [ecx], esi
725
        jnz     @f
725
        jnz     @f
726
        and     dword [ecx], 0
726
        and     dword [ecx], 0
727
        pushad
727
        pushad