diff --git a/kernel/trunk/const.inc b/kernel/trunk/const.inc index 5d03cb7864..37962204fd 100644 --- a/kernel/trunk/const.inc +++ b/kernel/trunk/const.inc @@ -501,7 +501,7 @@ struct APPDATA terminate_protection dd ? ;+176 keyboard_mode db ? ;+180 rb 3 - dd ? ;+184 + exec_params dd ? ;+184 dbg_event_mem dd ? ;+188 dbg_regs DBG_REGS ;+192 wnd_caption dd ? ;+212 diff --git a/kernel/trunk/core/string.inc b/kernel/trunk/core/string.inc index 0c2111ca11..3c66944458 100644 --- a/kernel/trunk/core/string.inc +++ b/kernel/trunk/core/string.inc @@ -115,6 +115,7 @@ align 4 proc strnlen stdcall, s:dword, n:dword push edi + mov ecx, [n] mov edi, [s] ; edi = string xor al, al ; Look for a zero byte mov edx, ecx ; Save maximum count diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index b2db65858c..9338b8e2e8 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -147,12 +147,10 @@ msg_unresolved db 'unresolved ',0 ;end if msg_CR db 13,10,0 -szHwMouse db 'ATI2D',0 szPS2MDriver db '/rd/1/drivers/PS2MOUSE.SYS',0 ;szCOM_MDriver db 'COM_MOUSE',0 szVidintel db '/rd/1/drivers/vidintel.sys',0 szUSB db 'USB',0 -szAtiHW db '/rd/1/drivers/ati2d.drv',0 szEXPORTS db 'EXPORTS',0 sz_EXPORTS db '_EXPORTS',0