freebsd-nq/sys/powerpc
Nathan Whitehorn b2a237be5c 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.
2010-08-31 15:27:46 +00:00
..
aim Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
booke Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
compile
conf Unbreak the LINT kernel on powerpc64. Note that the LINT kernel 2010-08-19 03:19:26 +00:00
cpufreq MFppc64: 2010-07-13 05:32:19 +00:00
fpu The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
include Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
mambo Add support for the IBM Full-System Simulator (Mambo). This code has been 2010-07-31 13:22:34 +00:00
mpc85xx Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
ofw Make ofw_syscons work on 64-bit systems. 2010-07-08 14:40:46 +00:00
powermac Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
powerpc Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
psim Remove the unneeded header <machine/intr.h>. 2010-07-02 02:17:39 +00:00