diff options
author | marcel <marcel@FreeBSD.org> | 2016-02-26 16:18:47 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2016-02-26 16:18:47 +0000 |
commit | b1abdb4699cc8a275611ec585bd8bf52c5a9c569 (patch) | |
tree | bad77c35d7057cc167a2e56d1e500f5c6e305035 | |
parent | 3b8e3cce0d1c4a579db69bbf52e17563e46ee8ba (diff) | |
download | FreeBSD-src-b1abdb4699cc8a275611ec585bd8bf52c5a9c569.zip FreeBSD-src-b1abdb4699cc8a275611ec585bd8bf52c5a9c569.tar.gz |
Bump VM_MAX_MEMSEGS from 2 to 3 to match the number of VM segment
identifiers present in vmmapi.h. In particular, it's now possible
to create a VM_FRAMEBUFFER segment.
-rw-r--r-- | sys/amd64/vmm/vmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c index 71eeb22..cb04f3c 100644 --- a/sys/amd64/vmm/vmm.c +++ b/sys/amd64/vmm/vmm.c @@ -121,7 +121,7 @@ struct mem_seg { bool sysmem; struct vm_object *object; }; -#define VM_MAX_MEMSEGS 2 +#define VM_MAX_MEMSEGS 3 struct mem_map { vm_paddr_t gpa; |