Restored the filtering of the system threads.

git-svn-id: svn://kolibrios.org@3779 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-07-08 05:59:43 +00:00
parent 54376c69d5
commit 146d0a2b9d

View File

@ -360,19 +360,28 @@ align 4
lea edi,[check1] lea edi,[check1]
test dword ch_flags,ch_flag_en test dword ch_flags,ch_flag_en
pop edi pop edi
jnz @f jnz .no_filter
cmp dword [process_info_buffer+10],'ICON' cmp dword [process_info_buffer+10],'ICON'
jnz @f
cmp dword [process_info_buffer+10+4],0
jz .return_1 jz .return_1
@@:
cmp dword [process_info_buffer+10],'OS/I' cmp dword [process_info_buffer+10],'IDLE'
jnz @f
cmp dword [process_info_buffer+10+4],0
jz .return_1 jz .return_1
@@:
cmp word [process_info_buffer+10],'OS'
jnz @f
cmp dword [process_info_buffer+10+2],0
jz .return_1
@@:
cmp byte [process_info_buffer+10],'@' cmp byte [process_info_buffer+10],'@'
jz .return_1 jz .return_1
;-------------------------------------- ;--------------------------------------
align 4 align 4
@@: .no_filter:
mov edi,ecx mov edi,ecx
mov [list_add],ecx mov [list_add],ecx
;get processor cpeed ;get processor cpeed