Subversion Repositories Kolibri OS

Rev

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

Rev 774 Rev 787
Line 9... Line 9...
9
;;  Distributed under GPL. See file COPYING for details.        ;;
9
;;  Distributed under GPL. See file COPYING for details.        ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 774 $
14
$Revision: 787 $
15
 
15
 
16
 
16
 
Line 181... Line 181...
181
; irq1  ->  hid/keyboard.inc
181
; irq1  ->  hid/keyboard.inc
182
macro irqh [num]
182
macro irqh [num]
183
{
183
{
184
  forward
184
  forward
185
  p_irq#num :
185
  p_irq#num :
-
 
186
     save_ring3_context
186
     mov   edi, num
187
     mov   edi, num
187
     jmp   irqhandler
188
     jmp   irq_c
188
}
189
}
Line 189... Line 190...
189
 
190
 
Line -... Line 191...
-
 
191
irqh 2,3,4,5,7,8,9,10,11
-
 
192
 
-
 
193
irq_c:
-
 
194
        mov     ax, app_data
-
 
195
        mov     ds, ax
-
 
196
        mov     es, ax
-
 
197
        call    irqhandler
Line 190... Line 198...
190
irqh 2,3,4,5,7,8,9,10,11
198
        restore_ring3_context
191
 
199
        iret
192
 
200
 
193
p_irq6:
201
p_irq6: