Subversion Repositories Kolibri OS

Rev

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

Rev 5363 Rev 6015
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 5363 $
8
$Revision: 6015 $
Line 9... Line 9...
9
 
9
 
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