DDI_ROOT_NODE(9F) Kernel Functions for Drivers DDI_ROOT_NODE(9F)
NAME
ddi_root_node - get the root of the dev_info tree
SYNOPSIS
#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
dev_info_t *ddi_root_node(
void);
INTERFACE LEVEL
illumos DDI specific (illumos DDI).
DESCRIPTION
The
ddi_root_node() function returns a pointer to the root node of
the device information tree.
RETURN VALUES
The
ddi_root_node() function returns a pointer to a device
information structure.
CONTEXT
The
ddi_root_node() function can be called from user, interrupt, or
kernel context.
SEE ALSO
Writing Device Drivers January 16, 2006 DDI_ROOT_NODE(9F)