Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 16:18:47 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r296103 - head/sys/amd64/vmm
Message-ID:  <201602261618.u1QGIlbE026902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Fri Feb 26 16:18:47 2016
New Revision: 296103
URL: https://svnweb.freebsd.org/changeset/base/296103

Log:
  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.

Modified:
  head/sys/amd64/vmm/vmm.c

Modified: head/sys/amd64/vmm/vmm.c
==============================================================================
--- head/sys/amd64/vmm/vmm.c	Fri Feb 26 16:15:02 2016	(r296102)
+++ head/sys/amd64/vmm/vmm.c	Fri Feb 26 16:18:47 2016	(r296103)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602261618.u1QGIlbE026902>