summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_i386.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2006-04-27 15:37:48 +0000
committermickey <mickey@openbsd.org>2006-04-27 15:37:48 +0000
commit829cf9fdeb08785aa7fefe036395c37d481d0a46 (patch)
tree5c795f6307f77c5c7a90b5f1aacf35b008a9ea1c /lib/libkvm/kvm_i386.c
parentfrom PAE work: (diff)
downloadwireguard-openbsd-829cf9fdeb08785aa7fefe036395c37d481d0a46.tar.xz
wireguard-openbsd-829cf9fdeb08785aa7fefe036395c37d481d0a46.zip
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 'lib/libkvm/kvm_i386.c')
0 files changed, 0 insertions, 0 deletions