@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.24 2008/11/11 06:46:40 dyoung Exp $ */
+/* $NetBSD: machdep.c,v 1.25 2009/01/03 18:15:11 bjh21 Exp $ */
/*-
* Copyright (c) 1998 Ben Harris
@@ -32,7 +32,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24 2008/11/11 06:46:40 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.25 2009/01/03 18:15:11 bjh21 Exp $");
#include <sys/buf.h>
#include <sys/kernel.h>
@@ -58,7 +58,12 @@
char cpu_model[] = "Archimedes";
/* Our exported CPU info; we can have only one. */
-struct cpu_info cpu_info_store;
+struct cpu_info cpu_info_store = {
+ .ci_cpl = IPL_HIGH,
+#ifndef PROCESS_ID_IS_CURLWP
+ .ci_curlwp = &lwp0,
+#endif
+};
/* For reading NVRAM during bootstrap. */
i2c_tag_t acorn26_i2c_tag;