Subversion Repositories Kolibri OS

Rev

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

Rev 3785 Rev 3791
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: 3785 $
74
$Revision: 3791 $
Line 1136... Line 1136...
1136
 
1136
 
1137
        stdcall attach_int_handler, 14, IDE_common_irq_handler, 0
1137
        stdcall attach_int_handler, 14, IDE_common_irq_handler, 0
1138
        DEBUGF  1, "K : Set IDE IRQ14 return code %x\n", eax
1138
        DEBUGF  1, "K : Set IDE IRQ14 return code %x\n", eax
1139
        stdcall attach_int_handler, 15, IDE_common_irq_handler, 0
1139
        stdcall attach_int_handler, 15, IDE_common_irq_handler, 0
1140
        DEBUGF  1, "K : Set IDE IRQ15 return code %x\n", eax
-
 
1141
 
-
 
1142
        stdcall enable_irq, 14
-
 
1143
        stdcall enable_irq, 15
-
 
1144
 
1140
        DEBUGF  1, "K : Set IDE IRQ15 return code %x\n", eax
1145
        jmp     .enable_IDE_interrupt
1141
        jmp     .enable_IDE_interrupt
1146
;--------------------------------------
1142
;--------------------------------------
1147
.sata_ide:
1143
.sata_ide:
1148
        cmp     ax, 0x0185
1144
        cmp     ax, 0x0185
Line 1157... Line 1153...
1157
 
1153
 
1158
        mov     ax, [IDE_Interrupt]
1154
        mov     ax, [IDE_Interrupt]
1159
        movzx   eax, al
1155
        movzx   eax, al
1160
        stdcall attach_int_handler, eax, IDE_common_irq_handler, 0
1156
        stdcall attach_int_handler, eax, IDE_common_irq_handler, 0
1161
        DEBUGF  1, "K : Set IDE IRQ%d return code %x\n", [IDE_Interrupt]:1, eax
-
 
1162
 
-
 
1163
        stdcall enable_irq, eax
1157
        DEBUGF  1, "K : Set IDE IRQ%d return code %x\n", [IDE_Interrupt]:1, eax
1164
;--------------------------------------
1158
;--------------------------------------
1165
.enable_IDE_interrupt:
1159
.enable_IDE_interrupt:
1166
        mov     esi, boot_enabling_ide
1160
        mov     esi, boot_enabling_ide
1167
        call    boot_log
1161
        call    boot_log