Rev 455 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 455 | Rev 459 | ||
---|---|---|---|
Line 219... | Line 219... | ||
219 | mov ecx, cr0 |
219 | mov ecx, cr0 |
220 | or ecx, CR0_TS ;set task switch flag |
220 | or ecx, CR0_TS ;set task switch flag |
221 | mov cr0, ecx |
221 | mov cr0, ecx |
222 | inc [context_counter] ;noname & halyavin |
222 | inc [context_counter] ;noname & halyavin |
Line -... | Line 223... | ||
- | 223 | ||
- | 224 | test [ebx+APPDATA.dbg_state], 1 |
|
- | 225 | jnz @F |
|
- | 226 | ret |
|
- | 227 | @@: |
|
- | 228 | mov eax, [ebx+APPDATA.dbg_regs.dr0] |
|
- | 229 | mov dr0, eax |
|
- | 230 | mov eax, [ebx+APPDATA.dbg_regs.dr1] |
|
- | 231 | mov dr1, eax |
|
- | 232 | mov eax, [ebx+APPDATA.dbg_regs.dr2] |
|
- | 233 | mov dr2, eax |
|
- | 234 | mov eax, [ebx+APPDATA.dbg_regs.dr3] |
|
- | 235 | mov dr3, eax |
|
- | 236 | xor eax, eax |
|
- | 237 | mov dr6, eax |
|
- | 238 | mov eax, [ebx+APPDATA.dbg_regs.dr7] |
|
223 | 239 | mov dr7, eax |
|
Line 224... | Line 240... | ||
224 | ret |
240 | ret |
225 | 241 |