Date: Tue, 31 Aug 2010 15:27:46 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/conf files.powerpc src/sys/powerpc/aim machdep.c ofw_machdep.c platform_chrp.c vm_machdep.c src/sys/powerpc/booke platform_bare.c src/sys/powerpc/include ofw_machdep.h src/sys/powerpc/mpc85xx mpc85xx.c ... Message-ID: <201008311528.o7VFS9Di090196@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-08-31 15:27:46 UTC FreeBSD src repository Modified files: sys/conf files.powerpc sys/powerpc/aim machdep.c ofw_machdep.c vm_machdep.c sys/powerpc/booke platform_bare.c sys/powerpc/include ofw_machdep.h sys/powerpc/mpc85xx mpc85xx.c sys/powerpc/powermac cuda.c pmu.c smu.c sys/powerpc/powerpc platform.c platform_if.m Added files: sys/powerpc/powermac platform_powermac.c Removed files: sys/powerpc/aim platform_chrp.c Log: SVN rev 212054 on 2010-08-31 15:27:46Z by nwhitehorn Restructure how reset and poweroff are handled on PowerPC systems, since the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB. - Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp. Revision Changes Path 1.116 +1 -1 src/sys/conf/files.powerpc 1.139 +0 -12 src/sys/powerpc/aim/machdep.c 1.32 +12 -11 src/sys/powerpc/aim/ofw_machdep.c 1.8 +0 -279 src/sys/powerpc/aim/platform_chrp.c (dead) 1.129 +0 -9 src/sys/powerpc/aim/vm_machdep.c 1.5 +31 -0 src/sys/powerpc/booke/platform_bare.c 1.6 +0 -1 src/sys/powerpc/include/ofw_machdep.h 1.8 +0 -25 src/sys/powerpc/mpc85xx/mpc85xx.c 1.8 +18 -0 src/sys/powerpc/powermac/cuda.c 1.1 +288 -0 src/sys/powerpc/powermac/platform_powermac.c (new) 1.10 +26 -0 src/sys/powerpc/powermac/pmu.c 1.11 +26 -0 src/sys/powerpc/powermac/smu.c 1.2 +10 -0 src/sys/powerpc/powerpc/platform.c 1.2 +7 -0 src/sys/powerpc/powerpc/platform_if.m
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008311528.o7VFS9Di090196>