Rev 21 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 25 | ||
---|---|---|---|
Line 249... | Line 249... | ||
249 | cmp eax,[0x3004] ;exit loop if we look through all processes |
249 | cmp eax,[0x3004] ;exit loop if we look through all processes |
250 | jle .loop |
250 | jle .loop |
Line 251... | Line 251... | ||
251 | 251 | ||
252 | ;edx = number of threads |
252 | ;edx = number of threads |
253 | ;our process is zombi so it isn't counted |
253 | ;our process is zombi so it isn't counted |
254 | test edx,edx |
254 | cmp edx,1 |
255 | jnz .threadsexists |
255 | jg .threadsexists |
256 | ;if there isn't threads then clear memory. |
256 | ;if there isn't threads then clear memory. |
Line 257... | Line 257... | ||
257 | add edi,std_application_base_address shr 20 |
257 | add edi,std_application_base_address shr 20 |
258 | 258 |