summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-05 20:35:17 +0000
committerjhb <jhb@FreeBSD.org>2007-03-05 20:35:17 +0000
commit7837841549ff57aaf75429a70fde518c902075c7 (patch)
tree1280d469d99e3d9e8f5489c7ab12aabfb2381f60 /sys/i386/include
parent881404945f12fdcb7b017540d68b3b9ff2572d5a (diff)
downloadFreeBSD-src-7837841549ff57aaf75429a70fde518c902075c7.zip
FreeBSD-src-7837841549ff57aaf75429a70fde518c902075c7.tar.gz
Use vm_paddr_t rather than uintptr_t when passing the physical address of
APICs to lapic_init() and ioapic_create().
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/apicvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/apicvar.h b/sys/i386/include/apicvar.h
index b0f9643..23f83b2 100644
--- a/sys/i386/include/apicvar.h
+++ b/sys/i386/include/apicvar.h
@@ -179,7 +179,7 @@ void apic_enable_vector(u_int vector);
void apic_free_vector(u_int vector, u_int irq);
u_int apic_idt_to_irq(u_int vector);
void apic_register_enumerator(struct apic_enumerator *enumerator);
-void *ioapic_create(uintptr_t addr, int32_t id, int intbase);
+void *ioapic_create(vm_paddr_t addr, int32_t apic_id, int intbase);
int ioapic_disable_pin(void *cookie, u_int pin);
int ioapic_get_vector(void *cookie, u_int pin);
void ioapic_register(void *cookie);
@@ -196,7 +196,7 @@ void lapic_disable(void);
void lapic_dump(const char *str);
void lapic_eoi(void);
int lapic_id(void);
-void lapic_init(uintptr_t addr);
+void lapic_init(vm_paddr_t addr);
int lapic_intr_pending(u_int vector);
void lapic_ipi_raw(register_t icrlo, u_int dest);
void lapic_ipi_vectored(u_int vector, int dest);
OpenPOWER on IntegriCloud