Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/stand/ofwboot Remove vestiges of the syncica...



details:   https://anonhg.NetBSD.org/src/rev/5ba2197d56d0
branches:  trunk
changeset: 537111:5ba2197d56d0
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Fri Sep 27 00:32:17 2002 +0000

description:
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 a09970c9bf09 -r 5ba2197d56d0 sys/arch/macppc/stand/ofwboot/Locore.c
--- a/sys/arch/macppc/stand/ofwboot/Locore.c    Thu Sep 26 23:55:43 2002 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Locore.c    Fri Sep 27 00:32:17 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.11 2002/09/27 00:32:17 wrstuden 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