* fixed show_error_parameters in sys32.inc

uses the stack instead of TSS

git-svn-id: svn://kolibrios.org@16 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Poddubny 2005-10-28 16:37:38 +00:00
parent d927fb6877
commit 38d714f47e

View File

@ -279,14 +279,12 @@ show_error_parameters:
mov eax,[error_interrupt]
call writehex
mov eax,[0x3000]
imul eax,tss_step
cmp [eax+tss_data+l.cs-tss_sceleton], os_code
jz @f
cmp dword [esp+4+4], os_code ; CS
jnz @f
mov esi,system_error
call sys_msg_board_str
@@:
mov eax,[eax+tss_data+l.eip-tss_sceleton]
mov eax, [esp+4] ; EIP
mov [write_error_to],process_eip+43
call writehex