summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/vmmvar.h
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-03-23 08:05:59 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-03-23 08:05:59 +0000
commit9b58b6d8da632f23e4b2b8acd7f9d7cc44b8c660 (patch)
treee2ce15f3b5a3462aeb52103dc8e97ab7788517fb /sys/arch/amd64/include/vmmvar.h
parent83b66d0eba2260c063dfef0a481e45cd1300177a (diff)
Bump the emulated PCI MMIO range end to 0xFFFFFFFF. This slightly
penalizes i386 guests who previously had memory allocated by vmd after 0xF0FFFFFF (the previous range end) but makes memory range calculation in vmd/mc146818 much much easier. This diff needs to be combined with the previous vmd diffs or you won't be able to create a vm with memory size larger than ~3855MB.
Diffstat (limited to 'sys/arch/amd64/include/vmmvar.h')
-rw-r--r--sys/arch/amd64/include/vmmvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h
index d707c412d53..7c657c9e160 100644
--- a/sys/arch/amd64/include/vmmvar.h
+++ b/sys/arch/amd64/include/vmmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmvar.h,v 1.31 2017/02/20 07:36:20 mlarkin Exp $ */
+/* $OpenBSD: vmmvar.h,v 1.32 2017/03/23 08:05:58 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -33,7 +33,7 @@
#define VMM_MAX_NICS_PER_VM 4
#define VMM_PCI_MMIO_BAR_BASE 0xF0000000
-#define VMM_PCI_MMIO_BAR_END 0xF0FFFFFF
+#define VMM_PCI_MMIO_BAR_END 0xFFFFFFFF
#define VMM_PCI_MMIO_BAR_SIZE 0x00010000
#define VMM_PCI_IO_BAR_BASE 0x1000
#define VMM_PCI_IO_BAR_END 0xFFFF