143,7 → 143,7 |
e7: ;#NM exception handler |
save_ring3_context |
clts |
mov ax, os_data |
mov ax, app_data ; |
mov ds, ax |
mov es, ax |
|
196,10 → 196,10 |
push ecx |
push edx |
|
mov ebx, [ss:CURRENT_TASK] |
mov ebx, [CURRENT_TASK] |
shl ebx, 8 |
|
mov eax, [ss:ebx+SLOT_BASE+APPDATA.fpu_handler] |
mov eax, [ebx+SLOT_BASE+APPDATA.fpu_handler] |
test eax, eax |
jz .default |
|
206,7 → 206,7 |
mov ecx, [reg_eip] |
mov edx, [reg_esp] |
sub edx, 4 |
mov [ss:edx+new_app_base], ecx |
mov [edx], ecx |
mov [reg_esp], edx |
mov dword [reg_eip], eax |
|
240,10 → 240,9 |
push ecx |
push edx |
|
mov ebx, [ss:CURRENT_TASK] |
shl ebx, 8 |
mov ebx, [current_slot] |
|
mov eax, [ss:ebx+SLOT_BASE+APPDATA.sse_handler] |
mov eax, [ebx+APPDATA.sse_handler] |
test eax, eax |
jz .default |
|
250,7 → 249,7 |
mov ecx, [reg_eip] |
mov edx, [reg_esp] |
sub edx, 4 |
mov [ss:edx+new_app_base], ecx |
mov [edx], ecx |
mov [reg_esp], edx |
mov dword [reg_eip], eax |
|