Fix for r.4700 - fix proc check_ATAPI_device_event

git-svn-id: svn://kolibrios.org@4734 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79)
2014-04-02 20:55:06 +00:00
parent 89658a72f5
commit 76718d400a
2 changed files with 23 additions and 21 deletions

View File

@@ -977,7 +977,7 @@ endg
call set_lights
;// mike.dld ]
stdcall attach_int_handler, 1, irq1, 0
DEBUGF 1, "K : IRQ1 error code %x\n", eax
DEBUGF 1, "K : IRQ1 return code %x\n", eax
.no_keyboard:
; Load PS/2 mouse driver
@@ -1042,9 +1042,8 @@ end if
mov [timer_ticks_enable], 1 ; for cd driver
sti
call mtrr_validate
; call change_task
call mtrr_validate
jmp osloop
@@ -1133,18 +1132,20 @@ osloop:
xchg eax, [osloop_nonperiodic_work]
test eax, eax
jz .no_periodic
; call [draw_pointer]
call __sys_draw_pointer
call window_check_events
call mouse_check_events
call checkmisc
call checkVga_N13
;--------------------------------------
.no_periodic:
call stack_handler
call check_fdd_motor_status
call check_ATAPI_device_event
call check_lights_state
call check_timers
jmp osloop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;