www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

irq.S (951B)


      1 .section .text
      2 
      3 .irp ligne,0,1,2,3,4,5,6,7
      4 
      5 .globl envoyerFinInterruptionMaitre\ligne
      6 envoyerFinInterruptionMaitre\ligne:
      7 
      8 mov $0x20, %al
      9 outb %al, $0x20
     10 
     11 call *(tableGestionnairesRequeteInterruption + 4*\ligne)
     12 
     13 ret
     14 
     15 .endr
     16 
     17 
     18 .irp ligne,0,1,2,3,4,5,6,7
     19 
     20 .globl envoyerFinInterruptionEsclave\ligne
     21 envoyerFinInterruptionEsclave\ligne:
     22 
     23 mov $0x20, %al
     24 outb %al, $0xa0
     25 outb %al, $0x20
     26 
     27 call *(tableGestionnairesRequeteInterruption + 4*(8 + \ligne))
     28 
     29 ret
     30 
     31 .endr
     32 
     33 
     34 .section .data
     35 
     36 .globl tableFonctionsEnvoiFinInterruption
     37 tableFonctionsEnvoiFinInterruption:
     38 .irp ligne,0,1,2,3,4,5,6,7
     39 	.long (envoyerFinInterruptionMaitre\ligne)
     40 .endr
     41 .irp ligne,0,1,2,3,4,5,6,7
     42 	.long (envoyerFinInterruptionEsclave\ligne)
     43 .endr
     44 
     45 
     46 .globl tableGestionnairesRequeteInterruption
     47 tableGestionnairesRequeteInterruption:
     48 .irp ligne,0,1,2,3,4,5,6,7
     49 	.long (gestionnaireRequeteInterruptionVide)
     50 .endr
     51 .irp ligne,0,1,2,3,4,5,6,7
     52 	.long (gestionnaireRequeteInterruptionVide)
     53 .endr