diff options
author | msmith <msmith@FreeBSD.org> | 1998-10-30 05:41:15 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-10-30 05:41:15 +0000 |
commit | e79dcdb69f35b4c9a8524672d1c364e750730b38 (patch) | |
tree | c2d16e98b9b0fc0b55a9e67cbcf5b278c400f11f /sys/alpha | |
parent | 0fcabcf90e9664f8f2c243b394255dda6012386f (diff) | |
download | FreeBSD-src-e79dcdb69f35b4c9a8524672d1c364e750730b38.zip FreeBSD-src-e79dcdb69f35b4c9a8524672d1c364e750730b38.tar.gz |
Add the ability to specify where on the at_shutdown queue a handler is
installed.
Remove cpu_power_down, and replace it with an entry at the end of the
SHUTDOWN_FINAL queue in the only place it's used (APM).
Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 11 | ||||
-rw-r--r-- | sys/alpha/include/md_var.h | 3 |
2 files changed, 2 insertions, 12 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 6d35e8a..9374444 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: machdep.c,v 1.17 1998/10/14 10:08:35 peter Exp $ + * $Id: machdep.c,v 1.18 1998/10/15 22:00:54 dfr Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -1390,15 +1390,6 @@ cpu_halt(void) } /* - * Turn the power off. - */ -void -cpu_power_down(void) -{ - alpha_pal_halt(); /* XXX */ -} - -/* * Clear registers on exec */ void diff --git a/sys/alpha/include/md_var.h b/sys/alpha/include/md_var.h index b3925f7..c8db052 100644 --- a/sys/alpha/include/md_var.h +++ b/sys/alpha/include/md_var.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: md_var.h,v 1.3 1998/09/14 22:43:24 jdp Exp $ + * $Id: md_var.h,v 1.4 1998/09/26 12:22:53 dfr Exp $ */ #ifndef _MACHINE_MD_VAR_H_ @@ -44,7 +44,6 @@ struct proc; struct reg; struct cam_sim; -void cpu_power_down __P((void)); void cpu_halt __P((void)); void cpu_reset __P((void)); int is_physical_memory __P((vm_offset_t addr)); |