Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
DDB ibmnws kernel boot
I was unable to boot custom ibmnws DDB kernel until I hacked it
slightly.
Index: ibmnws/locore.S
===================================================================
RCS file: /cvsroot/src/sys/arch/ibmnws/ibmnws/locore.S,v
retrieving revision 1.1
diff -u -p -r1.1 locore.S
--- ibmnws/locore.S 19 Oct 2003 03:33:50 -0000 1.1
+++ ibmnws/locore.S 2 Nov 2004 21:14:43 -0000
@@ -128,17 +128,16 @@ __start_:
isync
/* compute end of kernel memory */
-#if defined(DDB) || defined(KERNFS)
+#if 0 && (defined(DDB) || defined(KERNFS))
lis 7,_C_LABEL(startsym)@ha
addi 7,7,_C_LABEL(startsym)@l
stw 3,0(7)
lis 7,_C_LABEL(endsym)@ha
addi 7,7,_C_LABEL(endsym)@l
stw 4,0(7)
-#else
+#endif
lis 4,_C_LABEL(end)@ha
addi 4,4,_C_LABEL(end)@l
-#endif
INIT_CPUINFO(4,1,9,0)
Home |
Main Index |
Thread Index |
Old Index