summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/bhyverun.h
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2013-03-01 02:26:28 +0000
committerneel <neel@FreeBSD.org>2013-03-01 02:26:28 +0000
commit9c2aecf6da5fb6aafba1ce1f1488a6b13c8a3174 (patch)
tree2000067d1528e9e61ee28a8010e91859f3f23e01 /usr.sbin/bhyve/bhyverun.h
parent65c312a935cde98a1292b6337cd3c1ece740b835 (diff)
downloadFreeBSD-src-9c2aecf6da5fb6aafba1ce1f1488a6b13c8a3174.zip
FreeBSD-src-9c2aecf6da5fb6aafba1ce1f1488a6b13c8a3174.tar.gz
Specify the length of the mapping requested from 'paddr_guest2host()'.
This seems prudent to do in its own right but it also opens up the possibility of not having to mmap the entire guest address space in the 'bhyve' process context. Discussed with: grehan Obtained from: NetApp
Diffstat (limited to 'usr.sbin/bhyve/bhyverun.h')
-rw-r--r--usr.sbin/bhyve/bhyverun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/bhyverun.h b/usr.sbin/bhyve/bhyverun.h
index 45033b8..70455bf 100644
--- a/usr.sbin/bhyve/bhyverun.h
+++ b/usr.sbin/bhyve/bhyverun.h
@@ -43,7 +43,7 @@ extern char *vmname;
extern u_long lomem_sz, himem_sz;
-void *paddr_guest2host(uintptr_t);
+void *paddr_guest2host(uintptr_t addr, size_t len);
void fbsdrun_addcpu(struct vmctx *ctx, int cpu, uint64_t rip);
int fbsdrun_muxed(void);
OpenPOWER on IntegriCloud