Subversion Repositories Kolibri OS

Rev

Rev 3762 | Rev 3774 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3762 Rev 3771
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 3762 $
74
$Revision: 3771 $
Line 715... Line 715...
715
        call    boot_log
715
        call    boot_log
716
; Enable timer IRQ (IRQ0) and hard drives IRQs (IRQ14, IRQ15)
716
; Enable timer IRQ (IRQ0) and hard drives IRQs (IRQ14, IRQ15)
717
; they are used: when partitions are scanned, hd_read relies on timer
717
; they are used: when partitions are scanned, hd_read relies on timer
718
        call    unmask_timer
718
        call    unmask_timer
719
        stdcall enable_irq, 2               ; @#$%! PIC
719
        stdcall enable_irq, 2               ; @#$%! PIC
720
        stdcall enable_irq, 6               ; FDD
-
 
721
        stdcall enable_irq, 13              ; co-processor
720
        stdcall enable_irq, 13              ; co-processor
Line 722... Line 721...
722
 
721
 
723
        mov     esi, boot_disabling_ide
722
        mov     esi, boot_disabling_ide
724
        call    boot_log
723
        call    boot_log
Line 1250... Line 1249...
1250
proc osloop_has_work?
1249
proc osloop_has_work?
1251
        cmp     [osloop_nonperiodic_work], 0
1250
        cmp     [osloop_nonperiodic_work], 0
1252
        jnz     .yes
1251
        jnz     .yes
1253
        call    stack_handler_has_work?
1252
        call    stack_handler_has_work?
1254
        jnz     .yes
1253
        jnz     .yes
1255
        call    check_fdd_motor_status_has_work?
1254
;        call    check_fdd_motor_status_has_work?
1256
        jnz     .yes
1255
;        jnz     .yes
1257
        call    check_ATAPI_device_event_has_work?
1256
        call    check_ATAPI_device_event_has_work?
1258
        jnz     .yes
1257
        jnz     .yes
1259
        call    check_lights_state_has_work?
1258
        call    check_lights_state_has_work?
1260
        jnz     .yes
1259
        jnz     .yes
1261
        call    check_timers_has_work?
1260
        call    check_timers_has_work?