CPU_CONFIGURE(9)       NetBSD Kernel Developer's Manual       CPU_CONFIGURE(9)

NAME
     cpu_configure -- machine-dependent device autoconfiguration

SYNOPSIS
     #include <sys/systm.h>

     void
     cpu_configure(void);

DESCRIPTION
     cpu_configure() is called during system bootstrap to perform the machine-
     dependent portion of device autoconfiguration.  It sets the configuration
     machinery in motion by finding the root bus ("mainbus").  When this func-
     tion returns, interrupts must be enabled.

     cpu_configure() performs the following tasks:

     o   initialize soft interrupts (see softintr(9))

     o   initialize CPU interrupts and SPLs

     o   call config_rootfound() for "mainbus"

     o   complete any initialization deferred from cpu_startup().

SEE ALSO
     autoconf(9), cpu_startup(9)

NetBSD 5.0_STABLE                May 23, 2002                NetBSD 5.0_STABLE
