Subversion Repositories Kolibri OS

Rev

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

Rev 5984 Rev 6078
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 5984 $
74
$Revision: 6078 $
Line 994... Line 994...
994
;        call    build_scheduler; sys32.inc
994
;        call    build_scheduler; sys32.inc
Line 995... Line 995...
995
 
995
 
996
;        mov     esi, boot_devices
996
;        mov     esi, boot_devices
Line 997... Line -...
997
;        call    boot_log
-
 
998
 
-
 
999
        call    clear_pci_ide_interrupts
997
;        call    boot_log
Line 1000... Line 998...
1000
 
998
 
Line 1001... Line 999...
1001
include "detect/vortex86.inc"                     ; Vortex86 SoC detection code
999
include "detect/vortex86.inc"                     ; Vortex86 SoC detection code
Line 2165... Line 2163...
2165
;--------------------------------------
2163
;--------------------------------------
2166
; kill all sockets this process owns
2164
; kill all sockets this process owns
2167
        pusha
2165
        pusha
2168
        mov     edx, [TASK_BASE]
2166
        mov     edx, [TASK_BASE]
2169
        mov     edx, [edx+TASKDATA.pid]
2167
        mov     edx, [edx+TASKDATA.pid]
2170
        call    SOCKET_process_end
2168
        call    socket_process_end
2171
        popa
2169
        popa
2172
;--------------------------------------
2170
;--------------------------------------
2173
        mov     ecx, [current_slot]
2171
        mov     ecx, [current_slot]
2174
        mov     eax, [ecx+APPDATA.tls_base]
2172
        mov     eax, [ecx+APPDATA.tls_base]
2175
        test    eax, eax
2173
        test    eax, eax
Line 2295... Line 2293...
2295
        jz      noprocessterminate
2293
        jz      noprocessterminate
2296
;--------------------------------------
2294
;--------------------------------------
2297
; terminate all network sockets it used
2295
; terminate all network sockets it used
2298
        pusha
2296
        pusha
2299
        mov     eax, edx
2297
        mov     eax, edx
2300
        call    SOCKET_process_end
2298
        call    socket_process_end
2301
        popa
2299
        popa
2302
;--------------------------------------
2300
;--------------------------------------
2303
        cmp     [_display.select_cursor], 0
2301
        cmp     [_display.select_cursor], 0
2304
        je      .restore_end
2302
        je      .restore_end
2305
; restore default cursor before killing
2303
; restore default cursor before killing