From: <he...@us...> - 2004-06-26 23:04:28
|
Update of /cvsroot/gc-linux/linux/arch/ppc/boot/simple In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20815 Modified Files: head.S Log Message: Fixed wrong ifdef. Do not use r4 where it says not to do so. Index: head.S =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/ppc/boot/simple/head.S,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- head.S 24 Apr 2004 18:31:43 -0000 1.2 +++ head.S 26 Jun 2004 23:04:20 -0000 1.3 @@ -69,12 +69,13 @@ /* The following functions we call must not modify r3 or r4..... */ -#ifdef CONFIG_GAMECUBE - lis r4, 0xcc00 +#ifdef CONFIG_GAMECUBE_CONSOLE + /* setup the framebuffer for the debug console */ + lis r8, 0xcc00 lis r5, 0x00c0 - stw r5, 0x201c(r4) + stw r5, 0x201c(r8) addi r5, r5, 1280 - stw r5, 0x2024(r4) + stw r5, 0x2024(r8) #endif #ifdef CONFIG_6xx /* On PReP we must look at the OpenFirmware pointer and sanity |