man pages section 9: DDI and DKI Kernel Functions

Exit Print View

Updated: July 2014
 
 

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

Solaris DDI specific (Solaris 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 for Oracle Solaris 11.2