1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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.
This commit is contained in:
Marcel Moolenaar 2016-02-26 16:18:47 +00:00
parent 568e3a8d7f
commit 6bcf245ebc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296103

View File

@ -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;