Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/macppc/stand/ofwboot Pull up revision 1.11 (re...



details:   https://anonhg.NetBSD.org/src/rev/2af91735e4b7
branches:  netbsd-1-6
changeset: 529116:2af91735e4b7
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Sep 30 13:39:16 2002 +0000

description:
Pull up revision 1.11 (requested by wrstuden in ticket #867):
Remove vestiges of the syncicache() call originally in powerpc/ofwboot
before rev 1.4. This change makes OF 2.4 machines actually boot, and
it works fine on my OF 2.01 machine. No reports of failures on other
archs.
I expect this change is fine as the original code flushed the just-loaded
ofwboot out of the cache, conditionalized on FIRMWORKSBUGS. In rev.
1.4, the code got in-lined, and changed to actually flush low memory
out of the cache. Since machines kept booting, I expect the firmware
was really flushing the binary out of the cache, so we're fine.

diffstat:

 sys/arch/macppc/stand/ofwboot/Locore.c |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 68362b2a99b9 -r 2af91735e4b7 sys/arch/macppc/stand/ofwboot/Locore.c
--- a/sys/arch/macppc/stand/ofwboot/Locore.c    Mon Sep 30 13:38:33 2002 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Locore.c    Mon Sep 30 13:39:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: Locore.c,v 1.10 2002/03/29 15:15:07 tsutsui Exp $      */
+/*     $NetBSD: Locore.c,v 1.10.4.1 2002/09/30 13:39:16 lukem Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -58,14 +58,6 @@
        .text
        .globl  _start
 _start:
-       li      8,0
-       li      9,0x100
-       mtctr   9
-1:
-       dcbf    0,8
-       icbi    0,8
-       addi    8,8,0x20
-       bdnz    1b
        sync
        isync
 



Home | Main Index | Thread Index | Old Index