Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 115 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | rep movsb ; copy the data across |
112 | rep movsb ; copy the data across |
Line 113... | Line 113... | ||
113 | 113 | ||
114 | ; flag an event to the application |
114 | ; flag an event to the application |
115 | pop eax |
115 | pop eax |
116 | mov ecx,1 |
116 | mov ecx,1 |
Line 117... | Line 117... | ||
117 | mov esi,0x3020+0x4 |
117 | mov esi,0x3020+TASKDATA.pid |
118 | 118 | ||
119 | newsearch: |
119 | newsearch: |
120 | cmp [esi],eax |
120 | cmp [esi],eax |
Line 124... | Line 124... | ||
124 | cmp ecx,[0x3004] |
124 | cmp ecx,[0x3004] |
125 | jbe newsearch |
125 | jbe newsearch |
Line 126... | Line 126... | ||
126 | 126 | ||
127 | foundPID: |
127 | foundPID: |
128 | shl ecx,8 |
128 | shl ecx,8 |
Line 129... | Line 129... | ||
129 | or dword [ecx+0x80000+0xA8],dword 10000000b ; stack event |
129 | or dword [ecx+0x80000+APPDATA.event_mask],dword 10000000b ; stack event |
Line 130... | Line 130... | ||
130 | 130 | ||
131 | mov [check_idle_semaphore],200 |
131 | mov [check_idle_semaphore],200 |