diff options
author | jhb <jhb@FreeBSD.org> | 2004-04-27 19:37:17 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-04-27 19:37:17 +0000 |
commit | 7816e5af07f45eb63ba6fbbb66072d01093356b4 (patch) | |
tree | 2fd3575094c984799c9a6e932e08a8b0e077094a /sys/i386/include | |
parent | 0a30683aaf427f5eba8e5455b2cc3b7ccbaa300a (diff) | |
download | FreeBSD-src-7816e5af07f45eb63ba6fbbb66072d01093356b4.zip FreeBSD-src-7816e5af07f45eb63ba6fbbb66072d01093356b4.tar.gz |
Belatedly remove a file from the earlier apic code that is no longer used.
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/mpapic.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/sys/i386/include/mpapic.h b/sys/i386/include/mpapic.h deleted file mode 100644 index 2f0bef5..0000000 --- a/sys/i386/include/mpapic.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 1996, by Steve Passe - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. The name of the developer may NOT be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD$ - */ - -#ifndef _MACHINE_MPAPIC_H_ -#define _MACHINE_MPAPIC_H_ - -/* - * Size of APIC ID list. - * Also used a MAX size of various other arrays. - */ -#define NAPICID 16 - -/* these don't really belong in here... */ -enum busTypes { - CBUS = 1, - CBUSII = 2, - EISA = 3, - MCA = 4, - ISA = 6, - PCI = 13, - XPRESS = 18, - MAX_BUSTYPE = 18, - UNKNOWN_BUSTYPE = 0xff -}; - - -/* - * the physical/logical APIC ID management macors - */ -#define CPU_TO_ID(CPU) (cpu_num_to_apic_id[CPU]) -#define ID_TO_CPU(ID) (apic_id_to_logical[ID]) -#define IO_TO_ID(IO) (io_num_to_apic_id[IO]) -#define ID_TO_IO(ID) (apic_id_to_logical[ID]) - -#endif /* _MACHINE_MPAPIC_H */ |