Compaq ECQD2KCTE manual SEXTPCTR0CTL47, IERCMPCEN0, PCTR1, IERCMPCEN1, SL0

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 352
Image 352

For the Windows NT Alpha Operating System

When a counter overflows and interrupt enabling conditions are correct, the counter causes an interrupt to PALcode. The PALcode builds a frame on the kernel stack and dispatches to the kernel at the interrupt entry point.

E.2.3.2 Windows NT Alpha Functions and Argument

The functions for Windows NT Alpha execute on only a single (the current running) processor. The wrperfmon instruction is called with the following input registers:

Input Contents

Register (Bits) Meaning

a063–0

a10

The register in Table E–19,which contains the value to be written to the hardware PCTR_CTL register.

When a1 = 0, write a0 to the hardware PCTR_CTL register.

When a1 = 1, read the hardware PCTR_CTL register. The returned PCTR_CTL register is written to register v0.

Table E–19: Bit Summary of PCTR_CTL Register for Windows NT Alpha

Bits

Name

Meaning

 

 

 

 

 

 

 

63–48

SEXT[PCTR0_CTL[47]

 

 

 

47–28

PCTR0

Counter 0 value.

 

 

 

 

Enabled by setting I_CTL[PCT0_EN]

and

either

 

 

I_CTL[SPCE] or PCTX[PPCE]. On overflow, an

 

 

interrupt is triggered at ISUM[PC0], if enabled by

 

 

IER_CM[PCEN0].

 

 

 

 

Mode is determined by SL0 and operation is

 

 

described in SL1.

 

 

27–26

Reserved

 

 

 

25–6

PCTR1

Counter 1 value.

 

 

 

 

Enabled by setting I_CTL[PCT1_EN]

and

either

 

 

I_CTL[SPCE] or PCTX[PPCE]. On overflow, an

 

 

interrupt is triggered at ISUM[PC1], if enabled by

 

 

IER_CM[PCEN1].

 

 

 

 

Operation is described in SL1.

 

 

5

Reserved

 

 

 

4

SL0

PCTR0 input selecter:

 

 

Value Meaning

0Aggregate counting mode

1Reserved

E–24Alpha Architecture Handbook

Page 352
Image 352
Compaq ECQD2KCTE manual SEXTPCTR0CTL47, IERCMPCEN0, PCTR1, IERCMPCEN1, SL0