From 6bcf245ebce1b74649ec5aa36bfc230db4479b53 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 26 Feb 2016 16:18:47 +0000 Subject: [PATCH] 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. --- sys/amd64/vmm/vmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c index 71eeb22a7bf0..cb04f3cb8511 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;