Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 20020313+0314 time warp version works on kbd/screen
> Try this patch (note I've not compiled nor run it). It should catch calls
> to __syncicache() before we have initialized the cache info. There should
> be a new printf during boot.
Looking at it even more, I see where we're calling __syncicache() before
it's initialized.
This patch should fix it. Please try it.
Take care,
Bill
Index: machdep.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/macppc/macppc/machdep.c,v
retrieving revision 1.113
diff -u -r1.113 machdep.c
--- machdep.c 2002/05/13 06:05:33 1.113
+++ machdep.c 2002/06/16 01:23:28
@@ -311,6 +311,9 @@
*/
install_extint(ext_intr);
+ /* "get" cache info for now. Kinda fake as uses default values */
+ cpu_probe_cache();
+
__syncicache((void *)EXC_RST, EXC_LAST - EXC_RST + 0x100);
/*
Home |
Main Index |
Thread Index |
Old Index