summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2004-02-12 04:33:54 +0000
committerdrahn <drahn@openbsd.org>2004-02-12 04:33:54 +0000
commitadb43e3f32d285ae0854b583a69460b64172b04e (patch)
tree1d92f7736363ea8d4b17a28884ba8e3e65aa63cf
parentSwitch default console base to vga. (diff)
downloadwireguard-openbsd-adb43e3f32d285ae0854b583a69460b64172b04e.tar.xz
wireguard-openbsd-adb43e3f32d285ae0854b583a69460b64172b04e.zip
Add UKC.
-rw-r--r--sys/arch/cats/cats/cats_machdep.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/cats/cats/cats_machdep.c b/sys/arch/cats/cats/cats_machdep.c
index a6af4d80595..24eb7577391 100644
--- a/sys/arch/cats/cats/cats_machdep.c
+++ b/sys/arch/cats/cats/cats_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cats_machdep.c,v 1.4 2004/02/12 04:21:58 drahn Exp $ */
+/* $OpenBSD: cats_machdep.c,v 1.5 2004/02/12 04:33:54 drahn Exp $ */
/* $NetBSD: cats_machdep.c,v 1.50 2003/10/04 14:28:28 chris Exp $ */
/*
@@ -720,6 +720,14 @@ debugledaddr = (void*)(DC21285_PCI_IO_VBASE+DEBUG_LED_OFFSET);
printf("bootstrap done.\n");
#endif
+ if (boothowto & RB_CONFIG) {
+#ifdef BOOT_CONFIG
+ user_config();
+#else
+ printf("kernel does not support -c; continuing..\n");
+#endif
+ }
+
arm32_vector_init(ARM_VECTORS_LOW, ARM_VEC_ALL);
/*