[BACK]Return to kern_main.c CVS log [TXT][DIR] Up to [local] / funnyos / kern

File: [local] / funnyos / kern / kern_main.c (download)

Revision 1.2, Fri Oct 26 14:13:23 2007 UTC (16 years, 6 months ago) by init
Branch: MAIN
Changes since 1.1: +3 -1 lines

print "ok" after devconfig phase

/*
 * $Id: kern_main.c,v 1.2 2007/10/26 14:13:23 init Exp $
 */
#include <sys/types.h>
#include <sys/kern_devconfig.h>
#include <sys/mem.h>

#include <libkern/printf.h>

extern void config_consinit(void);


void
main(void)
{
	/* set up boot console */
	config_consinit();

	/* initialize kmalloc */
	kmem_init();

	/* attach all devices described in arch/${ARCH}/config.c */
	devconfig_recurse();

	printf("\n\nok\n");

	while(1)
			;
}