From ed0650b04c5611372f0ae6419c752e32fef4f52d Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 29 May 2006 20:40:59 +0000 Subject: Remove unused NetBSD new-style %b strings. --- sys/arch/i386/i386/apic.c | 17 +---------------- sys/arch/i386/i386/mpbios.c | 9 +-------- 2 files changed, 2 insertions(+), 24 deletions(-) (limited to 'sys/arch/i386') 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 #include - -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; -- cgit v1.2.3