summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/ofw_machdep.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-08-31 15:27:46 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-08-31 15:27:46 +0000
commit655a96888d55c63b6496de2c02332278739d62f6 (patch)
tree6d62f76674112f0f46965b70b4629824076f5094 /sys/powerpc/include/ofw_machdep.h
parent97e3e3670826f9a28781351eebc6280670c370a5 (diff)
downloadFreeBSD-src-655a96888d55c63b6496de2c02332278739d62f6.zip
FreeBSD-src-655a96888d55c63b6496de2c02332278739d62f6.tar.gz
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.
Diffstat (limited to 'sys/powerpc/include/ofw_machdep.h')
-rw-r--r--sys/powerpc/include/ofw_machdep.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/powerpc/include/ofw_machdep.h b/sys/powerpc/include/ofw_machdep.h
index bf79224..612b45b 100644
--- a/sys/powerpc/include/ofw_machdep.h
+++ b/sys/powerpc/include/ofw_machdep.h
@@ -43,7 +43,6 @@ void OF_getetheraddr(device_t dev, u_char *addr);
void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *));
boolean_t OF_bootstrap(void);
-void OF_halt(void);
void OF_reboot(void);
void ofw_mem_regions(struct mem_region **, int *, struct mem_region **, int *);
OpenPOWER on IntegriCloud