summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2012-10-04 02:27:14 +0000
committerneel <neel@FreeBSD.org>2012-10-04 02:27:14 +0000
commit18dd2c0d511c600e708ac8f756e8e51151b43656 (patch)
tree15ee06b08211ba25bab098239ee01704254807a8 /sys/amd64/include
parentcdb0dba22bd5328fdb484a5ef8405149b9522c02 (diff)
downloadFreeBSD-src-18dd2c0d511c600e708ac8f756e8e51151b43656.zip
FreeBSD-src-18dd2c0d511c600e708ac8f756e8e51151b43656.tar.gz
Change vm_malloc() to map pages in the guest physical address space in 4KB
chunks. This breaks the assumption that the entire memory segment is contiguously allocated in the host physical address space. This also paves the way to satisfy the 4KB page allocations by requesting free pages from the VM subsystem as opposed to hard-partitioning host memory at boot time.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/vmm_dev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/include/vmm_dev.h b/sys/amd64/include/vmm_dev.h
index fc64fd8..42ad236 100644
--- a/sys/amd64/include/vmm_dev.h
+++ b/sys/amd64/include/vmm_dev.h
@@ -35,7 +35,6 @@ void vmmdev_cleanup(void);
#endif
struct vm_memory_segment {
- vm_paddr_t hpa; /* out */
vm_paddr_t gpa; /* in */
size_t len; /* in */
};
OpenPOWER on IntegriCloud