1 | ;; @file
|
---|
2 | ; VirtualBox Parameter Definitions. (VMM,+)
|
---|
3 | ;
|
---|
4 | ; Automatically generated by various.sed. DO NOT EDIT!
|
---|
5 | ;
|
---|
6 |
|
---|
7 | ;
|
---|
8 | ; Copyright (C) 2006-2019 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 | %if ARCH_BITS == 64
|
---|
33 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_512M / PAGE_SIZE)
|
---|
34 | %else
|
---|
35 | %define VBOX_MAX_ALLOC_PAGE_COUNT (_256M / PAGE_SIZE)
|
---|
36 | %endif
|
---|
37 | %define MM_HYPER_AREA_ADDRESS 0xa0000000
|
---|
38 | %define MM_HYPER_AREA_MAX_SIZE (40U * _1M)
|
---|
39 | %define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE)
|
---|
40 | %define MM_RAM_MIN 0x00400000
|
---|
41 | %if HC_ARCH_BITS == 64
|
---|
42 | %define MM_RAM_MAX 0x20000000000
|
---|
43 | %else
|
---|
44 | %define MM_RAM_MAX 0x000E0000000
|
---|
45 | %endif
|
---|
46 | %define MM_RAM_MIN_IN_MB 4
|
---|
47 | %if HC_ARCH_BITS == 64
|
---|
48 | %define MM_RAM_MAX_IN_MB 2097152
|
---|
49 | %else
|
---|
50 | %define MM_RAM_MAX_IN_MB 3584
|
---|
51 | %endif
|
---|
52 | %define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
|
---|
53 | %if HC_ARCH_BITS == 64
|
---|
54 | %define MM_MMIO_64_MAX _1T
|
---|
55 | %else
|
---|
56 | %define MM_MMIO_64_MAX (_1G64 * 16)
|
---|
57 | %endif
|
---|
58 | %define MM_MMIO_32_MAX _2G
|
---|
59 | %define PGM_HANDY_PAGES 128
|
---|
60 | %define PGM_HANDY_PAGES_SET_FF 32
|
---|
61 | %define PGM_HANDY_PAGES_R3_ALLOC 8
|
---|
62 | %define PGM_HANDY_PAGES_RZ_ALLOC 8
|
---|
63 | %define PGM_HANDY_PAGES_RZ_TO_R3 24
|
---|
64 | %define PGM_HANDY_PAGES_MIN 32
|
---|
65 | %ifdef RT_OS_DARWIN
|
---|
66 | %define VMM_STACK_SIZE 16384
|
---|
67 | %else
|
---|
68 | %define VMM_STACK_SIZE 8192
|
---|
69 | %endif
|
---|
70 | %define VMM_MIN_CPU_COUNT 1
|
---|
71 | %define VMM_MAX_CPU_COUNT 64
|
---|
72 | %define VBOX_PCI_VENDORID (0x80ee)
|
---|
73 | %define VBOX_VENDORID VBOX_PCI_VENDORID
|
---|
74 | %define VBOX_DEVICEID (0xbeef)
|
---|
75 | %define VBOX_VESA_VENDORID VBOX_PCI_VENDORID
|
---|
76 | %define VBOX_VESA_DEVICEID (0xbeef)
|
---|
77 | %define VMMDEV_VENDORID VBOX_PCI_VENDORID
|
---|
78 | %define VMMDEV_DEVICEID (0xcafe)
|
---|
79 | %define VBOX_MAX_GSO_SIZE 0xfff0
|
---|
80 | %endif
|
---|