diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-07-22 20:12:32 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-07-22 20:12:32 +0000 |
commit | 5a26b1bcd77e9541d89f7a22426d3ee56da3a882 (patch) | |
tree | 9d777757f1d2c9b5a54e0ca6d57ab161b220bfa8 /sys/i386/include/mpapic.h | |
parent | ec87c7772144d9791d26fbb297b6233f58481156 (diff) | |
download | FreeBSD-src-5a26b1bcd77e9541d89f7a22426d3ee56da3a882.zip FreeBSD-src-5a26b1bcd77e9541d89f7a22426d3ee56da3a882.tar.gz |
Last commit didn't take, operator error???
Diffstat (limited to 'sys/i386/include/mpapic.h')
-rw-r--r-- | sys/i386/include/mpapic.h | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/sys/i386/include/mpapic.h b/sys/i386/include/mpapic.h index 3ea2f6d..d984a3b 100644 --- a/sys/i386/include/mpapic.h +++ b/sys/i386/include/mpapic.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mpapic.h,v 1.7 1997/05/31 03:29:06 fsmp Exp $ + * $Id: mpapic.h,v 1.3 1997/07/22 18:31:51 smp Exp smp $ */ #ifndef _MACHINE_MPAPIC_H_ @@ -76,46 +76,6 @@ enum busTypes { /* - * inline functions to read/write the IO APIC - * NOTES: - * unlike the local APIC, the IO APIC is accessed indirectly thru 2 registers. - * the select register is loaded with an index to the desired 'window' reg. - * the 'window' is accessed as a 32 bit unsigned. - */ - -/* - * read 'reg' from 'apic' - */ -static __inline u_int32_t -io_apic_read(int apic, int reg) -{ - ioapic[apic]->ioregsel = reg; - return ioapic[apic]->iowin; -} - - -/* - * write 'value' to 'reg' of 'apic' - */ -static __inline void -io_apic_write(int apic, int reg, u_int32_t value) -{ - ioapic[apic]->ioregsel = reg; - ioapic[apic]->iowin = value; -} - - -/* - * send an EndOfInterrupt to the local APIC - */ -static __inline void -apic_eoi(void) -{ - lapic.eoi = 0; -} - - -/* * send an IPI INTerrupt containing 'vector' to CPUs in 'targetMap' * 'targetMap' is a bitfiled of length 14, * APIC #0 == bit 0, ..., APIC #14 == bit 14 |