Subject: Re: 20020313+0314 time warp version works on kbd/screen
To: Makoto Fujiwara <makoto@ki.nu>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-powerpc
Date: 06/15/2002 18:05:40
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-189259145-1024189540=:12307
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sat, 15 Jun 2002, Bill Studenmund wrote:
> One weird thing about this change is that you need version 1.3 of
> sys/arch/powerpc/mpc6xx/genassym.cf for it to work right. CPU_CI, used on
> line 206 of bzero.S, isn't defined w/o the above file. I'm not sure why
> bzero.S would compile.
Ok, looking into things more, we aren't using bzero.S. :-) So then the
problem has to be the change to syncicache.c. :-)
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.
Take care,
Bill
--0-189259145-1024189540=:12307
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="powerpc.diffie"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.33.0206151805400.12307@vespasia.home-net.internetconnect.net>
Content-Description: Second diff
Content-Disposition: attachment; filename="powerpc.diffie"
SW5kZXg6IGtlcm4vaW5pdF9tYWluLmMNCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9zeXNzcmMvc3lzL2tlcm4vaW5pdF9t
YWluLmMsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjE5OQ0KZGlmZiAtdSAt
cjEuMTk5IGluaXRfbWFpbi5jDQotLS0ga2Vybi9pbml0X21haW4uYwkyMDAy
LzAzLzA0IDAyOjMwOjI3CTEuMTk5DQorKysga2Vybi9pbml0X21haW4uYwky
MDAyLzA2LzE2IDAxOjAzOjEwDQpAQCAtMTUzLDYgKzE1Myw4IEBADQogDQog
ZXh0ZXJuIGNvbnN0IHN0c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