From de7cfb5df61360d16fd69df3dba56a7f08a3f348 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 21 Jan 2014 09:40:56 +0000 Subject: Disable lapic when halting CPUs. Allegedly this is necessary to make suspend work on some machines. ok deraadt@ --- sys/arch/amd64/include/i82489var.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64/include') diff --git a/sys/arch/amd64/include/i82489var.h b/sys/arch/amd64/include/i82489var.h index a380ca8e6b9..dd50af54e5f 100644 --- a/sys/arch/amd64/include/i82489var.h +++ b/sys/arch/amd64/include/i82489var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i82489var.h,v 1.13 2011/06/30 22:18:01 jsg Exp $ */ +/* $OpenBSD: i82489var.h,v 1.14 2014/01/21 09:40:55 kettenis Exp $ */ /* $NetBSD: i82489var.h,v 1.1 2003/02/26 21:26:10 fvdl Exp $ */ /*- @@ -119,6 +119,7 @@ struct cpu_info; extern void lapic_boot_init(paddr_t); extern void lapic_set_lvt(void); extern void lapic_enable(void); +extern void lapic_disable(void); extern void lapic_calibrate_timer(struct cpu_info *ci); extern void lapic_startclock(void); extern void lapic_initclocks(void); -- cgit v1.2.3