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