sys/platform/pc64: port the ram device from FreeBSD's nexus.c
authorMarkus Pfeiffer <profmakx@dragonflybsd.org>
Sun, 17 Aug 2014 15:48:16 +0000 (16:48 +0100)
committerMarkus Pfeiffer <markus.pfeiffer@morphism.de>
Wed, 20 Aug 2014 22:49:03 +0000 (22:49 +0000)
commit97d69dfd2be7514f21a7ff7979e44e17fbb3ddbd
treeca14ec40ca8190975876a5694ba0a859ac947fe2
parent098d3b9c98b5772018dae33edc82e7056742bd79
sys/platform/pc64: port the ram device from FreeBSD's nexus.c

Our kernel didn't reserve RAM in the IO manager, which lead to
mmaped IO from devices being mapped in the same address space,
most notably this lead to problems with the i915 driver, bug
sys/platform/pc64/x86_64/nexus.c