summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/cpu.h
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-03-27 02:23:05 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-03-27 02:23:05 +0000
commit0e32e73a6835575f1f36a6b27373b8a96a360215 (patch)
tree985f8856a489b2319f3022c02e226c3da4117874 /sys/arch/amd64/include/cpu.h
parent919b507fdda291edc718813bd18ccbe28f5961b1 (diff)
Run identifycpu() on its own cpu.
Discussed with many on hackers. "Go ahead" kettenis@ "Get to it" deraadt@
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r--sys/arch/amd64/include/cpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index d9c0f1a0190..e3f5ff0dead 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.70 2011/12/26 23:07:04 haesbaert Exp $ */
+/* $OpenBSD: cpu.h,v 1.71 2012/03/27 02:23:04 haesbaert Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -135,6 +135,8 @@ struct cpu_info {
#define CPUF_SP 0x0004 /* CPU is only processor */
#define CPUF_PRIMARY 0x0008 /* CPU is active primary processor */
+#define CPUF_IDENTIFY 0x0010 /* CPU may now identify */
+
#define CPUF_PRESENT 0x1000 /* CPU is present */
#define CPUF_RUNNING 0x2000 /* CPU is running */
#define CPUF_PAUSE 0x4000 /* CPU is paused in DDB */
@@ -264,7 +266,6 @@ extern int cpuspeed;
/* identcpu.c */
void identifycpu(struct cpu_info *);
int cpu_amd64speed(int *);
-void cpu_probe_features(struct cpu_info *);
/* machdep.c */
void dumpconf(void);