kernel: minor cleaning

git-svn-id: svn://kolibrios.org@6318 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-03-11 04:10:08 +00:00
parent 1e6635e7d0
commit 7be51f22d5
3 changed files with 2 additions and 3 deletions

View File

@ -501,7 +501,7 @@ struct APPDATA
terminate_protection dd ? ;+176 terminate_protection dd ? ;+176
keyboard_mode db ? ;+180 keyboard_mode db ? ;+180
rb 3 rb 3
dd ? ;+184 exec_params dd ? ;+184
dbg_event_mem dd ? ;+188 dbg_event_mem dd ? ;+188
dbg_regs DBG_REGS ;+192 dbg_regs DBG_REGS ;+192
wnd_caption dd ? ;+212 wnd_caption dd ? ;+212

View File

@ -115,6 +115,7 @@ align 4
proc strnlen stdcall, s:dword, n:dword proc strnlen stdcall, s:dword, n:dword
push edi push edi
mov ecx, [n]
mov edi, [s] ; edi = string mov edi, [s] ; edi = string
xor al, al ; Look for a zero byte xor al, al ; Look for a zero byte
mov edx, ecx ; Save maximum count mov edx, ecx ; Save maximum count

View File

@ -147,12 +147,10 @@ msg_unresolved db 'unresolved ',0
;end if ;end if
msg_CR db 13,10,0 msg_CR db 13,10,0
szHwMouse db 'ATI2D',0
szPS2MDriver db '/rd/1/drivers/PS2MOUSE.SYS',0 szPS2MDriver db '/rd/1/drivers/PS2MOUSE.SYS',0
;szCOM_MDriver db 'COM_MOUSE',0 ;szCOM_MDriver db 'COM_MOUSE',0
szVidintel db '/rd/1/drivers/vidintel.sys',0 szVidintel db '/rd/1/drivers/vidintel.sys',0
szUSB db 'USB',0 szUSB db 'USB',0
szAtiHW db '/rd/1/drivers/ati2d.drv',0
szEXPORTS db 'EXPORTS',0 szEXPORTS db 'EXPORTS',0
sz_EXPORTS db '_EXPORTS',0 sz_EXPORTS db '_EXPORTS',0