summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/cpuvar.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-07-28 21:57:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-07-28 21:57:58 +0000
commit9166829d87c15f27009bc183caf9a518131a272e (patch)
tree7249fc6d7e845c2a96b10742c4ebfa0f2b565023 /sys/arch/amd64/include/cpuvar.h
parent0bb4bf32c533cbf40b194ba69eba643acebca59b (diff)
Store the acpi processor ID/UID in struct cpu_info, and use it to attach
acpicpu(4) drivers to the right cpu(4). ok mlarkin@, guenther@
Diffstat (limited to 'sys/arch/amd64/include/cpuvar.h')
-rw-r--r--sys/arch/amd64/include/cpuvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/cpuvar.h b/sys/arch/amd64/include/cpuvar.h
index 3870ab6e5b0..24fc8fe880d 100644
--- a/sys/arch/amd64/include/cpuvar.h
+++ b/sys/arch/amd64/include/cpuvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpuvar.h,v 1.7 2015/07/18 19:21:03 sf Exp $ */
+/* $OpenBSD: cpuvar.h,v 1.8 2016/07/28 21:57:57 kettenis Exp $ */
/* $NetBSD: cpuvar.h,v 1.1 2003/03/01 18:29:28 fvdl Exp $ */
/*-
@@ -78,7 +78,8 @@ extern struct cpu_functions mp_cpu_funcs;
struct cpu_attach_args {
const char *caa_name;
- int cpu_number;
+ int cpu_apicid;
+ int cpu_acpi_proc_id;
int cpu_role;
struct cpu_functions *cpu_func;
};