diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-01-21 09:40:56 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-01-21 09:40:56 +0000 |
commit | de7cfb5df61360d16fd69df3dba56a7f08a3f348 (patch) | |
tree | 6138c53573a1c6041e4a6d7a0dc4efca5edbdae4 /sys/arch/amd64/include | |
parent | 5b96010fba9ede3444fb59b564df2486e32f8d4e (diff) |
Disable lapic when halting CPUs. Allegedly this is necessary to make
suspend work on some machines.
ok deraadt@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/i82489var.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |