summaryrefslogtreecommitdiffstats
path: root/private/ntos/nthals/hal0jens/alpha/machdep.h
blob: e25a3967f7071a9d2c8c9532e5f89ad1bef9e825 (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
/*++

Copyright (c) 1993  Digital Equipment Corporation

Module Name:

    machdep.h

Abstract:

    Dummy file so the Jensen HAL can include some things from halalpha

Author:

    John Vert (jvert) 17-Aug-1994

Environment:

    Kernel mode

Revision History:


--*/

#ifndef _MACHDEP_
#define _MACHDEP_

//
// Define the per-processor data structures allocated in the PCR
// for each EV4 processor.
//

typedef struct _JENSEN_PCR{
    ULONGLONG HalpCycleCount;   // 64-bit per-processor cycle count
    EV4ProfileCount ProfileCount;   // Profile counter state
    EV4IrqStatus IrqStatusTable[MaximumIrq];    // Irq status table
} JENSEN_PCR, *PJENSEN_PCR;

#define HAL_PCR ( (PJENSEN_PCR)(&(PCR->HalReserved)) )

#endif //_MACHDEP_