Subversion Repositories Kolibri OS

Rev

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

Rev 5836 Rev 6793
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;;  Distributed under terms of the GNU General Public License.  ;;
5
;;                                                              ;;
-
 
6
;;                                                              ;;
-
 
7
;;  MenuetOS process management, protected ring3                ;;
-
 
8
;;                                                              ;;
-
 
9
;;  Distributed under GPL. See file COPYING for details.        ;;
-
 
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
-
 
11
;;                                                              ;;
5
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 7...
13
 
7
 
Line 14... Line 8...
14
$Revision: 5836 $
8
$Revision: 6793 $
15
 
9
 
16
align 4 ;3A08
10
align 4 ;3A08
17
build_interrupt_table:
11
build_interrupt_table:
Line 152... Line 146...
152
  @@:
146
  @@:
153
        cli
147
        cli
154
        mov     eax, [esi+APPDATA.debugger_slot]
148
        mov     eax, [esi+APPDATA.debugger_slot]
155
        test    eax, eax
149
        test    eax, eax
156
        jnz     .debug
150
        jnz     .debug
157
        sti
-
 
158
; not debuggee => say error and terminate
151
; not debuggee => say error and terminate
159
        call    show_error_parameters ;; only ONE using, inline ???
152
        call    show_error_parameters
160
       ;mov     edx, [TASK_BASE]
153
        sti
161
        mov     [edx + TASKDATA.state], byte 4 ; terminate
154
        mov     [edx + TASKDATA.state], byte 4 ; terminate
162
        call    wakeup_osloop
155
        call    wakeup_osloop
163
        call    change_task
156
        call    change_task
164
; If we're here, then the main OS thread has crashed before initializing IDLE thread.
157
; If we're here, then the main OS thread has crashed before initializing IDLE thread.
165
; Or they both have crashed. Anyway, things are hopelessly broken.
158
; Or they both have crashed. Anyway, things are hopelessly broken.