Rev 114 | Rev 147 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 114 | Rev 115 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | iretd |
38 | iretd |
Line 39... | Line 39... | ||
39 | 39 | ||
40 | align 4 |
40 | align 4 |
41 | save_registers: |
41 | save_registers: |
42 | mov esi, [0x3010] |
42 | mov esi, [0x3010] |
43 | mov eax, [esi+0x4] ; load PID |
43 | mov eax, [esi+TASKDATA.pid] ; load PID |
44 | lea esi, [esp+4] |
44 | lea esi, [esp+4] |
45 | inc [save_syscall_count] |
45 | inc [save_syscall_count] |
46 | mov edi,[save_syscall_count] |
46 | mov edi,[save_syscall_count] |
47 | and edi,0xF |
47 | and edi,0xF |