.TH ddi_cpu_data() "" "" "DDI/DKI Kernel Routine"
.PC "Get global data on per-processor basis"
.B "#include <kernel/ddi_cpu.h>"
\fBdcdata_t *ddi_cpu_data();\fR
.PP
.B ddi_cpu_data()
returns a pointer to a table of information that
can be considered DDI/DKI static data for a given processor.
The value returned
should be considered constant.
.PP
.B ddi_cpu_data()
returns the base address of the DDI/DKI's data-table entry for the current CPU.
.SH "See Also"
.B
ddi_base_data,
ddi_global_data,
ddi_proc_data,
DDI/DKI kernel routines
.R
.SH Notes
.B ddi_cpu_data()
has base or interrupt level.
It does not sleep.
.PP
Please note that although
.B ddi_cpu_data()
is used with \*(CO's implementation of the DDI/DKI interface, it is not
part of the published description of the DDI/DKI.
Code that uses it will not be portable to other operating systems.
