[KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:

- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes

git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad)
2021-06-16 13:57:17 +00:00
parent 9cdec89085
commit d4bf03befc
7 changed files with 11 additions and 11 deletions

View File

@@ -450,6 +450,6 @@ debugger_notify:
; new debug event
mov eax, ebp
shl eax, 8
or byte [SLOT_BASE+eax+APPDATA.event_mask+1], 1 ; set flag 100h
or byte [SLOT_BASE+eax+APPDATA.occurred_events+1], 1 ; set flag 100h
.ret:
ret

View File

@@ -942,7 +942,7 @@ proc set_app_params stdcall,slot:dword, params:dword, flags:dword
rep movsd
cmp [thread_count], ebx
adc dword [thread_count], 0 ; update number of processes
adc [thread_count], 0 ; update number of processes
shl ebx, 8
lea edx, [ebx+SLOT_BASE+APP_EV_OFFSET]
mov [SLOT_BASE+APPDATA.fd_ev+ebx], edx