[69202] | 1 | ;; @file
|
---|
| 2 | ; VirtualBox Parameter Definitions. (VMM,+)
|
---|
| 3 | ;
|
---|
| 4 | ; Automatically generated by various.sed. DO NOT EDIT!
|
---|
| 5 | ;
|
---|
| 6 |
|
---|
| 7 | ;
|
---|
[98103] | 8 | ; Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[69202] | 9 | ;
|
---|
[96407] | 10 | ; This file is part of VirtualBox base platform packages, as
|
---|
| 11 | ; available from https://www.virtualbox.org.
|
---|
[69202] | 12 | ;
|
---|
[96407] | 13 | ; This program is free software; you can redistribute it and/or
|
---|
| 14 | ; modify it under the terms of the GNU General Public License
|
---|
| 15 | ; as published by the Free Software Foundation, in version 3 of the
|
---|
| 16 | ; License.
|
---|
| 17 | ;
|
---|
| 18 | ; This program is distributed in the hope that it will be useful, but
|
---|
| 19 | ; WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 20 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 21 | ; General Public License for more details.
|
---|
| 22 | ;
|
---|
| 23 | ; You should have received a copy of the GNU General Public License
|
---|
| 24 | ; along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 25 | ;
|
---|
[69202] | 26 | ; The contents of this file may alternatively be used under the terms
|
---|
| 27 | ; of the Common Development and Distribution License Version 1.0
|
---|
[96407] | 28 | ; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
| 29 | ; in the VirtualBox distribution, in which case the provisions of the
|
---|
[69202] | 30 | ; CDDL are applicable instead of those of the GPL.
|
---|
| 31 | ;
|
---|
| 32 | ; You may elect to license modified versions of this file under the
|
---|
| 33 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
| 34 | ;
|
---|
[96407] | 35 | ; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
| 36 | ;
|
---|
[69202] | 37 |
|
---|
[76558] | 38 | %ifndef VBOX_INCLUDED_param_h
|
---|
| 39 | %define VBOX_INCLUDED_param_h
|
---|
[76869] | 40 | %ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 41 | %endif
|
---|
[96200] | 42 | %define GUEST_PAGE_SIZE 0x1000
|
---|
| 43 | %define GUEST_PAGE_OFFSET_MASK 0xfff
|
---|
| 44 | %define GUEST_PAGE_SHIFT 12
|
---|
| 45 | %define HOST_PAGE_SIZE PAGE_SIZE
|
---|
| 46 | %define HOST_PAGE_OFFSET_MASK PAGE_OFFSET_MASK
|
---|
| 47 | %define HOST_PAGE_SHIFT PAGE_SHIFT
|
---|
[66148] | 48 | %if ARCH_BITS == 64
|
---|
| 49 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_512M / PAGE_SIZE)
|
---|
| 50 | %else
|
---|
| 51 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_256M / PAGE_SIZE)
|
---|
| 52 | %endif
|
---|
[30736] | 53 | %define MM_HYPER_AREA_ADDRESS 0xa0000000
|
---|
[20742] | 54 | %define MM_HYPER_AREA_MAX_SIZE (40U * _1M)
|
---|
| 55 | %define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE)
|
---|
[30736] | 56 | %define MM_RAM_MIN 0x00400000
|
---|
[20742] | 57 | %if HC_ARCH_BITS == 64
|
---|
[37968] | 58 | %define MM_RAM_MAX 0x20000000000
|
---|
[20742] | 59 | %else
|
---|
[37968] | 60 | %define MM_RAM_MAX 0x000E0000000
|
---|
[20742] | 61 | %endif
|
---|
[30736] | 62 | %define MM_RAM_MIN_IN_MB 4
|
---|
[20742] | 63 | %if HC_ARCH_BITS == 64
|
---|
[37968] | 64 | %define MM_RAM_MAX_IN_MB 2097152
|
---|
[20742] | 65 | %else
|
---|
[30736] | 66 | %define MM_RAM_MAX_IN_MB 3584
|
---|
[20742] | 67 | %endif
|
---|
| 68 | %define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
|
---|
[66148] | 69 | %if HC_ARCH_BITS == 64
|
---|
| 70 | %define MM_MMIO_64_MAX _1T
|
---|
| 71 | %else
|
---|
| 72 | %define MM_MMIO_64_MAX (_1G64 * 16)
|
---|
| 73 | %endif
|
---|
| 74 | %define MM_MMIO_32_MAX _2G
|
---|
[96200] | 75 | %define PDM_NET_SHAPER_MAX_GROUPS 32
|
---|
| 76 | %define PDM_NET_SHAPER_MAX_NAME_LEN 63
|
---|
[20542] | 77 | %define PGM_HANDY_PAGES 128
|
---|
| 78 | %define PGM_HANDY_PAGES_SET_FF 32
|
---|
| 79 | %define PGM_HANDY_PAGES_R3_ALLOC 8
|
---|
| 80 | %define PGM_HANDY_PAGES_RZ_ALLOC 8
|
---|
| 81 | %define PGM_HANDY_PAGES_RZ_TO_R3 24
|
---|
| 82 | %define PGM_HANDY_PAGES_MIN 32
|
---|
[20742] | 83 | %ifdef RT_OS_DARWIN
|
---|
| 84 | %define VMM_STACK_SIZE 16384
|
---|
| 85 | %else
|
---|
| 86 | %define VMM_STACK_SIZE 8192
|
---|
| 87 | %endif
|
---|
[20542] | 88 | %define VMM_MIN_CPU_COUNT 1
|
---|
[39310] | 89 | %define VMM_MAX_CPU_COUNT 64
|
---|
[21930] | 90 | %define VBOX_PCI_VENDORID (0x80ee)
|
---|
| 91 | %define VBOX_VENDORID VBOX_PCI_VENDORID
|
---|
| 92 | %define VBOX_DEVICEID (0xbeef)
|
---|
| 93 | %define VBOX_VESA_VENDORID VBOX_PCI_VENDORID
|
---|
| 94 | %define VBOX_VESA_DEVICEID (0xbeef)
|
---|
| 95 | %define VMMDEV_VENDORID VBOX_PCI_VENDORID
|
---|
| 96 | %define VMMDEV_DEVICEID (0xcafe)
|
---|
[28828] | 97 | %define VBOX_MAX_GSO_SIZE 0xfff0
|
---|
[20742] | 98 | %endif
|
---|