1 | ;; @file
|
---|
2 | ; VirtualBox Parameter Definitions. (VMM,+)
|
---|
3 | ;
|
---|
4 | ; Automatically generated by various.sed. DO NOT EDIT!
|
---|
5 | ;
|
---|
6 |
|
---|
7 | ;
|
---|
8 | ; Copyright (C) 2006-2022 Oracle Corporation
|
---|
9 | ;
|
---|
10 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
12 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | ; General Public License (GPL) as published by the Free Software
|
---|
14 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | ;
|
---|
18 | ; The contents of this file may alternatively be used under the terms
|
---|
19 | ; of the Common Development and Distribution License Version 1.0
|
---|
20 | ; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
21 | ; VirtualBox OSE distribution, in which case the provisions of the
|
---|
22 | ; CDDL are applicable instead of those of the GPL.
|
---|
23 | ;
|
---|
24 | ; You may elect to license modified versions of this file under the
|
---|
25 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
26 | ;
|
---|
27 |
|
---|
28 | %ifndef VBOX_INCLUDED_param_h
|
---|
29 | %define VBOX_INCLUDED_param_h
|
---|
30 | %ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | %endif
|
---|
32 | %define GUEST_PAGE_SIZE 0x1000
|
---|
33 | %define GUEST_PAGE_OFFSET_MASK 0xfff
|
---|
34 | %define GUEST_PAGE_SHIFT 12
|
---|
35 | %define HOST_PAGE_SIZE PAGE_SIZE
|
---|
36 | %define HOST_PAGE_OFFSET_MASK PAGE_OFFSET_MASK
|
---|
37 | %define HOST_PAGE_SHIFT PAGE_SHIFT
|
---|
38 | %if ARCH_BITS == 64
|
---|
39 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_512M / PAGE_SIZE)
|
---|
40 | %else
|
---|
41 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_256M / PAGE_SIZE)
|
---|
42 | %endif
|
---|
43 | %define MM_HYPER_AREA_ADDRESS 0xa0000000
|
---|
44 | %define MM_HYPER_AREA_MAX_SIZE (40U * _1M)
|
---|
45 | %define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE)
|
---|
46 | %define MM_RAM_MIN 0x00400000
|
---|
47 | %if HC_ARCH_BITS == 64
|
---|
48 | %define MM_RAM_MAX 0x20000000000
|
---|
49 | %else
|
---|
50 | %define MM_RAM_MAX 0x000E0000000
|
---|
51 | %endif
|
---|
52 | %define MM_RAM_MIN_IN_MB 4
|
---|
53 | %if HC_ARCH_BITS == 64
|
---|
54 | %define MM_RAM_MAX_IN_MB 2097152
|
---|
55 | %else
|
---|
56 | %define MM_RAM_MAX_IN_MB 3584
|
---|
57 | %endif
|
---|
58 | %define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
|
---|
59 | %if HC_ARCH_BITS == 64
|
---|
60 | %define MM_MMIO_64_MAX _1T
|
---|
61 | %else
|
---|
62 | %define MM_MMIO_64_MAX (_1G64 * 16)
|
---|
63 | %endif
|
---|
64 | %define MM_MMIO_32_MAX _2G
|
---|
65 | %define PDM_NET_SHAPER_MAX_GROUPS 32
|
---|
66 | %define PDM_NET_SHAPER_MAX_NAME_LEN 63
|
---|
67 | %define PGM_HANDY_PAGES 128
|
---|
68 | %define PGM_HANDY_PAGES_SET_FF 32
|
---|
69 | %define PGM_HANDY_PAGES_R3_ALLOC 8
|
---|
70 | %define PGM_HANDY_PAGES_RZ_ALLOC 8
|
---|
71 | %define PGM_HANDY_PAGES_RZ_TO_R3 24
|
---|
72 | %define PGM_HANDY_PAGES_MIN 32
|
---|
73 | %ifdef RT_OS_DARWIN
|
---|
74 | %define VMM_STACK_SIZE 16384
|
---|
75 | %else
|
---|
76 | %define VMM_STACK_SIZE 8192
|
---|
77 | %endif
|
---|
78 | %define VMM_MIN_CPU_COUNT 1
|
---|
79 | %define VMM_MAX_CPU_COUNT 64
|
---|
80 | %define VBOX_PCI_VENDORID (0x80ee)
|
---|
81 | %define VBOX_VENDORID VBOX_PCI_VENDORID
|
---|
82 | %define VBOX_DEVICEID (0xbeef)
|
---|
83 | %define VBOX_VESA_VENDORID VBOX_PCI_VENDORID
|
---|
84 | %define VBOX_VESA_DEVICEID (0xbeef)
|
---|
85 | %define VMMDEV_VENDORID VBOX_PCI_VENDORID
|
---|
86 | %define VMMDEV_DEVICEID (0xcafe)
|
---|
87 | %define VBOX_MAX_GSO_SIZE 0xfff0
|
---|
88 | %endif
|
---|