Subversion Repositories Kolibri OS

Rev

Rev 5565 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5565 Rev 6078
Line 201... Line 201...
201
; that it has acknowledged an IRQ, and assume that handlers with at least one
201
; that it has acknowledged an IRQ, and assume that handlers with at least one
202
; acknowledged IRQ are registered properly.
202
; acknowledged IRQ are registered properly.
203
; Note: this still isn't 100% correct, because two IRQs can fire simultaneously,
203
; Note: this still isn't 100% correct, because two IRQs can fire simultaneously,
204
; the better way would be to find the correct IRQ, but I don't know how to do
204
; the better way would be to find the correct IRQ, but I don't know how to do
205
; this in that case.
205
; this in that case.
-
 
206
        cmp     ebp, 1
-
 
207
        jz      .fail
206
        push    ebp
208
        push    ebp
207
        xor     ebp, ebp
209
        xor     ebp, ebp
208
.try_other_irqs:
210
.try_other_irqs:
209
        cmp     ebp, [esp]
211
        cmp     ebp, [esp]
210
        jz      .try_next_irq
212
        jz      .try_next_irq