summaryrefslogtreecommitdiffstats
path: root/private/ntos/nthals/halraw/alpha/as4000.h
blob: 9e66de6da37b9d3baabfce2812ae7650c3f006f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*++

Copyright (c) 1996 Digital Equipment Corporation

Module Name:

    as4000.h

Abstract:

    This file defines the AS4000 internal bus interrupts for Windows NT 3.51

Author:

    Matthew Buchman     18 March 1996

Environment:

    Kernel mode

Revision History:

--*/

#ifndef _AS4000_
#define _AS4000_

/*++

    Value added drivers for the AS4000 running Windows NT 3.51 can take 
    advantage of interrupts for the Correctable Error and the I2c Bus.
    These interrupts are made  visible to device drivers on the "Internal" 
    bus. A device driver may connect one of these interrupts via a call to
    HalGetInterruptVector().  The bus interrupt level/vector are defined 
    below for the Correctable Error, I2c Bus, and I2c Controller interrupts.  

    For example, to connect the I2c bus interrupt vector:

        HalGetInterruptVector(
            Internal,
            0,
            AS4000I2cBusInterruptVector,
            AS4000I2cBusInterruptVector,
            &Irql,
            &Affinity
            );

    See the Windows NT Network Developers CD for more information on
    the steps necessary to connect an interrupt service routine for
    kernel mode device drivers.

-*/

enum _AS4000_INTERNAL_BUS_INTERRUPT_LEVEL {

    AS4000SoftErrInterruptLevel,        // Correctable Error
    AS4000I2cCtrlInterruptLevel,        // I2C Controller
    AS4000I2cBusInterruptLevel          // I2C Bus

};

#endif // _AS4000_