[KERNEL] cleared the code of unnecessary comments

git-svn-id: svn://kolibrios.org@9932 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom
2023-08-20 21:54:50 +00:00
parent 0932401978
commit d0acf78f92
8 changed files with 36 additions and 80 deletions

View File

@@ -398,7 +398,7 @@ proc create_process stdcall, app_size:dword
mov edi, [tmp_task_ptab]
stdcall map_page, edi, eax, PG_SWR
mov ecx, 1024
mov ecx, PAGE_SIZE/4
xor eax, eax
rep stosd
@@ -1086,14 +1086,14 @@ pid_to_appdata:
mov ebx, [thread_count]
shl ebx, BSF sizeof.APPDATA ; multiply by size
; skip first process in the task table
mov ecx, SLOT_BASE
add ebx, ecx
.loop:
add ecx, sizeof.APPDATA
cmp [SLOT_BASE + ecx + APPDATA.state], TSTATE_FREE
cmp [ecx + APPDATA.state], TSTATE_FREE
jz @f ;skip empty slots
cmp [SLOT_BASE + ecx + APPDATA.tid], eax
cmp [ecx + APPDATA.tid], eax
jz .pid_found
;ecx = offset of current process info entry
;ebx = maximum permitted offset
@@:
cmp ecx, ebx
jb .loop