Date: Wed, 10 Jun 2009 12:47:54 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/aim machdep.c platform_chrp.c src/sys/powerpc/powerpc openpic.c Message-ID: <200906101248.n5ACmAHS061040@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
grehan 2009-06-10 12:47:54 UTC
FreeBSD src repository
Modified files:
sys/powerpc/aim machdep.c platform_chrp.c
sys/powerpc/powerpc openpic.c
Log:
SVN rev 193909 on 2009-06-10 12:47:54Z by grehan
Get the gdb/psim emulator functioning again.
aim/machdep.c:
- the RI status register bit needs to be set when doing the mtmsrd 64-bit
instruction test
- psim doesn't implement the dcbz instruction so the run-time cacheline
test fails. Set the cachline size to 32 to avoid infinite loops in
future calls to __syncicache()
aim/platform_chrp.c:
- if after iterating through / and a name property of "cpus" still isn't
found, just search directly for '/cpus'.
- psim doesn't put a "reg" property on it's cpu nodes, so assume 0
since it is uniprocessor-only at this point
powerpc/openpic.c
- the number of CPUs reported is 1 too many on psim's openpic
Reviewed by: nwhitehorn
MFC after: 1 week (openpic part)
Revision Changes Path
1.128 +7 -1 src/sys/powerpc/aim/machdep.c
1.2 +19 -5 src/sys/powerpc/aim/platform_chrp.c
1.22 +4 -2 src/sys/powerpc/powerpc/openpic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906101248.n5ACmAHS061040>
