PERFORCE change 29805 for review
Juli Mallett
jmallett at FreeBSD.org
Sat Apr 26 11:58:53 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29805
Change 29805 by jmallett at 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();
}
More information about the p4-projects
mailing list