summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2009-06-02 03:04:55 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2009-06-02 03:04:55 +0000
commiteb6d6ee82a1be8478ff86830ee0a0d74c138b4cf (patch)
tree1d56f518a7928f3d8b160dcec82ef7b017df9664 /sys/arch/amd64/include
parent14f26834652fe502181af3c1bc2c0372575a5a13 (diff)
Added interface for cpu idle on amd64
ok gwk@, toby@, marco@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index 599cbf4449b..efd8ea21f50 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.44 2009/05/28 09:05:33 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.45 2009/06/02 03:04:54 jordan Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -276,6 +276,9 @@ void x86_64_bufinit(void);
void x86_64_init_pcb_tss_ldt(struct cpu_info *);
void cpu_proc_fork(struct proc *, struct proc *);
int amd64_pa_used(paddr_t);
+extern void (*cpu_idle_enter_fcn)(void);
+extern void (*cpu_idle_cycle_fcn)(void);
+extern void (*cpu_idle_leave_fcn)(void);
struct region_descriptor;
void lgdt(struct region_descriptor *);