/kernel/branches/Kolibri-acpi/core/apic.inc |
---|
447,6 → 447,7 |
jz .old_tics |
push ebx |
push esi |
pushfd |
cli |
456,15 → 457,24 |
mov eax, [ebx+0xF0] |
mov ecx, [ebx+0xF4] |
cmp ecx, edx |
jnz @B |
jne @B |
mov ecx, [hpet_period] |
mov ebx, edx |
imul ebx, ecx |
mul ecx |
add edx, ebx |
mul [hpet_period] |
shrd eax, edx, 10 |
shr edx, 10 |
mov ebx, eax |
mov esi, edx |
mov eax, ecx |
mul [hpet_period] |
shld edx, eax, 22 |
shl eax, 22 |
add eax, ebx |
adc edx, esi |
popfd |
pop esi |
pop ebx |
ret |
/kernel/branches/Kolibri-acpi/core/sched.inc |
---|
285,7 → 285,7 |
call [ebx+APPDATA.wait_test] |
mov [esp+28], eax |
popad |
test eax, eax |
or eax, eax |
jnz @f |
; testing for timeout |
mov eax, [timer_ticks] |
/kernel/branches/Kolibri-acpi/core/sys32.inc |
---|
581,7 → 581,7 |
mov [esi+WDATA.cl_workarea], eax |
mov [esi+WDATA.cl_titlebar], eax |
mov [esi+WDATA.cl_frames], eax |
mov dword [esi+WDATA.reserved], eax; clear all flags: wstate, redraw, wdrawn |
mov dword [esi+WDATA.z_modif], eax; clear all flags: z_modif, wstate, redraw, wdrawn |
lea edi, [esi-window_data+draw_data] |
mov ecx, 32/4 |
rep stosd |