init - * system bus, which does all the device probes. */...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <types.h> #include <lib.h> #include <machine/spl.h> #include <dev.h> #include "autoconf.h" // for pseudoconfig /* * Machine-independent device initialization (and cleanup) * * This is called as early in boot as possible, because until it's * called, console I/O doesn't print. * * machdep_dev_bootstrap() calls the autoconf stuff for the main
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: * system bus, which does all the device probes. */ void dev_bootstrap(void) { /* Interrupts should be off. */ assert(curspl>0); kprintf("Device probe. ..\n"); machdep_dev_bootstrap(); /* Interrupts should now have come on. */ assert(curspl==0); /* Now initialize pseudo-devices */ pseudoconfig(); kprintf("\n"); }...
View Full Document

This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.

Ask a homework question - tutors are online