Specifications

Data Structures
1.4 Per-CPU Database (CPU)
Table 1–4 (Cont.) Contents of Per-CPU Database
Field Name Contents
CPU$Q_WORK_FQFL* Work packet queue. This field is also called CPU$Q_WORK_IFQ.
CPU$L_QLOST_FQFL* Quorum loss fork queue forward link.
CPU$L_QLOST_FQBL* Quorum loss fork queue blink link.
CPU$W_QLOST_SIZE* Quorum loss fork block size.
CPU$B_QLOST_TYPE* Quorum loss fork block type.
CPU$B_QLOST_FLCK* Quorum loss fork lock.
CPU$L_QLOST_FPC* Quorum loss fork PC.
CPU$L_QLOST_FR3* Quorum loss fork R3.
CPU$L_QLOST_FR4* Quorum loss fork R4.
CPU$Q_BOOT_TIME* System time at which this processor was bootstrapped.
CPU$Q_CPUID_MASK* Bit mask representing this processor’s CPU ID.
CPU$L_PHY_CPUID* Integer that uniquely identifies the local processor in a multiprocessor
configuration. This value is system specific. (For example, in a
VAX 8300/8350 configuration, it is the VAXBI node ID. For a VAX
8800, it is the left or right bit from the processor’s system ID register
(PR$_SID); for a VAX 8810/8820/8830 it is the CPU number (0 to 3)
from PR$_SID. In a VAX 6000-series configuration, it is the XMI node
ID. The operating system uses the physical ID principally to locate
the per-CPU database and interrupt stack of a processor that it is
restarting.)
CPU$L_CAPABILITY* Bit mask of this processor’s capabilities.
The following capabilities are defined in $CPBDEF:
CPB$C_PRIMARY Primary CPU.
CPB$C_NS Reserved to Digital.
CPB$C_QUORUM Quorum required.
CPB$C_HARDAFF Hard affinity. Reserved for diagnostics
software.
CPU$L_TENUSEC* 10-microsecond delay value.
CPU$L_UBDELAY* UNIBUS delay counter.
CPU$L_KERNEL* Set of seven longwords that tally the processors clock ticks in kernel
mode, in executive mode, in supervisor mode, in user mode, on the
interrupt stack, in compatibility mode, and in kernel-mode spin-lock
busy-wait state, respectively.
CPU$L_NULLCPU* Clock ticks during which the null job has been the current process on
this processor.
CPU$W_UKERNEL* Reserved to Digital.
CPU$W_UNULLCPU* Reserved to Digital.
CPU$W_CLKUTICS* Reserved to Digital.
CPU$W_HARDAFF* Count of processes with hard affinity for this processor.
CPU$L_RANK_VEC* Longword recording the ranks of all spinlocks currently held by the
processor. Spinlock acquisition code issues a Find First Set (FFS)
instruction on this longword to determine if the processor holds any
locks that are lower ranked than the one it seeks.
(continued on next page)
1–18