summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicvar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-20 21:53:31 +0000
committerjhb <jhb@FreeBSD.org>2007-03-20 21:53:31 +0000
commitfe7d05b231c935abbf199439d062b19e25bab744 (patch)
tree1e90fdec85dd7dca5c495360ce21ff3544537810 /sys/amd64/include/apicvar.h
parentfebce07b1841a6b5680a436c04a0e6ea67af094a (diff)
downloadFreeBSD-src-fe7d05b231c935abbf199439d062b19e25bab744.zip
FreeBSD-src-fe7d05b231c935abbf199439d062b19e25bab744.tar.gz
Add a new apic0 psuedo-device to claim memory resources for the memory
address ranges used by local and I/O APICs in the system. Some systems also reserve these ranges as system resources via either PnPBIOS or ACPI, so this device currently attaches after acpi0 and legacy0 so that the system resources are given precedence.
Diffstat (limited to 'sys/amd64/include/apicvar.h')
-rw-r--r--sys/amd64/include/apicvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/apicvar.h b/sys/amd64/include/apicvar.h
index 6836c10..9ffe17c 100644
--- a/sys/amd64/include/apicvar.h
+++ b/sys/amd64/include/apicvar.h
@@ -174,6 +174,8 @@ inthand_t
IDTVEC(apic_isr4), IDTVEC(apic_isr5), IDTVEC(apic_isr6),
IDTVEC(apic_isr7), IDTVEC(spuriousint), IDTVEC(timerint);
+extern vm_paddr_t lapic_paddr;
+
u_int apic_alloc_vector(u_int irq);
u_int apic_alloc_vectors(u_int *irqs, u_int count, u_int align);
void apic_enable_vector(u_int vector);
OpenPOWER on IntegriCloud