Date: Sat, 26 Apr 2003 11:58:51 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29805 for review Message-ID: <200304261858.h3QIwpEq006853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29805 Change 29805 by jmallett@jmallett_dalek on 2003/04/26 11:58:28 Reset when we fall off the bottom. Slap the console on after ARCS is initialised. Access ARCS through KSEG1. Affected files ... .. //depot/projects/mips/sys/mips/sgimips/machdep_sgimips.c#6 edit Differences ... ==== //depot/projects/mips/sys/mips/sgimips/machdep_sgimips.c#6 (text+ko) ==== @@ -32,6 +32,7 @@ #include <machine/cpufunc.h> #include <machine/cpuregs.h> #include <machine/hwfunc.h> +#include <machine/md_var.h> #include <dev/arcbios/arcbios.h> #include <dev/arcbios/arcbiosvar.h> @@ -55,6 +56,8 @@ /* * Initialise the ARCBIOS stuff. */ - arcbios_init(MIPS_PHYS_TO_KSEG0(0x00001000)); + arcbios_init(MIPS_PHYS_TO_KSEG1(0x00001000)); + arcbios_cnattach(); printf("See MIPS Run\n"); + cpu_reset(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304261858.h3QIwpEq006853>