summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pcibios.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-27 15:37:56 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-27 15:37:56 +0000
commit35b8d554a33affaf6b27876352c24652d73dab77 (patch)
tree96c478ed97d3ba2b010c6e8672e65eadd0de8127 /sys/arch/i386/pci/pcibios.c
parent11dad837ff643b7f59fbcfae411104a49ab48410 (diff)
implement separate PAE pmap that allows access to 64g of physmem
if supported by the cpu(s). currently not enabled by default and not compiled into ramdisks. this grows paddr_t to 64bit but yet leaves bus_addr_t at 32bits. measures are taken to favour dmaable memory allocation from below 4g line such that buffer cache is already allocated form below, pool backend allocator prefers lower memory and then finally bounce buffers are used as last resort. PAE is engaged only if global variable cpu_pae is manually set to non-zero and there is physical memory present above 4g. simplify pcibios address math to use u_long as we always will be in the 32bit space.
Diffstat (limited to 'sys/arch/i386/pci/pcibios.c')
-rw-r--r--sys/arch/i386/pci/pcibios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c
index a4784398e20..ea83f89717e 100644
--- a/sys/arch/i386/pci/pcibios.c
+++ b/sys/arch/i386/pci/pcibios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcibios.c,v 1.32 2005/01/08 18:17:58 mickey Exp $ */
+/* $OpenBSD: pcibios.c,v 1.33 2006/04/27 15:37:55 mickey Exp $ */
/* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */
/*
@@ -270,7 +270,7 @@ pcibios_pir_init(sc)
for (i = 0; i < pirh->tablesize; i++)
cksum += p[i];
- printf("%s: PCI IRQ Routing Table rev %d.%d @ 0x%lx/%d "
+ printf("%s: PCI IRQ Routing Table rev %d.%d @ 0x%llx/%d "
"(%d entries)\n", sc->sc_dev.dv_xname,
pirh->version >> 8, pirh->version & 0xff, pa,
pirh->tablesize, (pirh->tablesize - sizeof(*pirh)) / 16);