•  Back 
  •  PCI-BIOS 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.15.9  hook_interrupt                                             TOS

 Name:         »Hook Interrupt Vector«

 Xbiosnummer:  311

 Deklaration:  int32_t hook_interrupt (int32_t handle, uint32_t 
               *routine, uint32_t *parameter);

 Beschreibung: This function hooks the driver into the interrupt chain 
               to which a specific interrupt on the given card is 
               routed. The interrupt is enabled on the system level, 
               however, it is the drivers responsibility to enable the 
               interrupt on the card as needed.

               The driver should first hook into the interrupt chain, 
               and then enable the interrupt on the card, in order not 
               to cause spurious interrupts.

                handle     Geräte-Handle des gewählten PCI-Gerätes

                routine    Zeiger auf den Interrupt-Handler des 
                           Treibers

                parameter  Zeiger auf Parameter für Interrupt-Handler, 
                           dies ist ein vom Treiber frei zu wählender 
                           Wert, der bei jedem Aufruf des Handlers vom 
                           BIOS mitübergeben wird.

                           Dadurch könnteein einziger Interrupt- 
                           Handler auch mehrere baugleiche PCI-Geräte 
                           bedienen.

 Ergebnis:     PCI-BIOS Fehlercodes

 Verfügbar:    PCI-BIOS V2.00

 Gruppe:       PCI-BIOS

 Querverweis:  Binding   unhook_interrupt