summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-29 20:40:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-29 20:40:59 +0000
commited0650b04c5611372f0ae6419c752e32fef4f52d (patch)
treec139036b90282fd8ab7cbf683a210c2bc214a618 /sys/arch/i386
parent3ebaf3acf133551ac4a3a4d6a9cae023dec089c5 (diff)
Remove unused NetBSD new-style %b strings.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/apic.c17
-rw-r--r--sys/arch/i386/i386/mpbios.c9
2 files changed, 2 insertions, 24 deletions
diff --git a/sys/arch/i386/i386/apic.c b/sys/arch/i386/i386/apic.c
index 6ed294770f3..9e80d1d50bb 100644
--- a/sys/arch/i386/i386/apic.c
+++ b/sys/arch/i386/i386/apic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apic.c,v 1.2 2004/06/13 21:49:15 niklas Exp $ */
+/* $OpenBSD: apic.c,v 1.3 2006/05/29 20:40:58 miod Exp $ */
/* $NetBSD: apic.c,v 1.1.2.2 2000/02/21 18:51:00 sommerfeld Exp $ */
/*-
@@ -46,21 +46,6 @@
#include <machine/i82489var.h>
#include <machine/apicvar.h>
-
-const char redirlofmt[] = "\177\20"
- "f\0\10vector\0"
- "f\10\3delmode\0"
- "b\13logical\0"
- "b\14pending\0"
- "b\15actlo\0"
- "b\16irrpending\0"
- "b\17level\0"
- "b\20masked\0"
- "f\22\1dest\0" "=\1self" "=\2all" "=\3all-others";
-
-const char redirhifmt[] = "\177\20"
- "f\30\10target\0";
-
void
apic_format_redir(where1, where2, idx, redirhi, redirlo)
char *where1;
diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c
index e8ea8569f07..a4db41103ab 100644
--- a/sys/arch/i386/i386/mpbios.c
+++ b/sys/arch/i386/i386/mpbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbios.c,v 1.13 2006/05/14 19:07:46 kettenis Exp $ */
+/* $OpenBSD: mpbios.c,v 1.14 2006/05/29 20:40:58 miod Exp $ */
/* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */
/*-
@@ -1064,13 +1064,6 @@ mpbios_ioapic(ent, self)
config_found_sm(self, &aaa, mp_print, mp_match);
}
-static const char inttype_fmt[] = "\177\020"
- "f\0\2type\0" "=\1NMI\0" "=\2SMI\0" "=\3ExtINT\0";
-
-static const char flagtype_fmt[] = "\177\020"
- "f\0\2pol\0" "=\1Act Hi\0" "=\3Act Lo\0"
- "f\2\2trig\0" "=\1Edge\0" "=\3Level\0";
-
int
mpbios_int(ent, mpi)
const u_int8_t *ent;