1 | %ifndef ___VBox_param_h
|
---|
2 | %define ___VBox_param_h
|
---|
3 | %define VBOX_MAX_ALLOC_PAGE_COUNT (256U * _1M / PAGE_SIZE)
|
---|
4 | %define MM_HYPER_AREA_ADDRESS 0xa0000000
|
---|
5 | %define MM_HYPER_AREA_MAX_SIZE (40U * _1M)
|
---|
6 | %define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE)
|
---|
7 | %define MM_RAM_MIN 0x00400000
|
---|
8 | %if HC_ARCH_BITS == 64
|
---|
9 | %define MM_RAM_MAX 0x20000000000
|
---|
10 | %else
|
---|
11 | %define MM_RAM_MAX 0x000E0000000
|
---|
12 | %endif
|
---|
13 | %define MM_RAM_MIN_IN_MB 4
|
---|
14 | %if HC_ARCH_BITS == 64
|
---|
15 | %define MM_RAM_MAX_IN_MB 2097152
|
---|
16 | %else
|
---|
17 | %define MM_RAM_MAX_IN_MB 3584
|
---|
18 | %endif
|
---|
19 | %define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
|
---|
20 | %define PGM_HANDY_PAGES 128
|
---|
21 | %define PGM_HANDY_PAGES_SET_FF 32
|
---|
22 | %define PGM_HANDY_PAGES_R3_ALLOC 8
|
---|
23 | %define PGM_HANDY_PAGES_RZ_ALLOC 8
|
---|
24 | %define PGM_HANDY_PAGES_RZ_TO_R3 24
|
---|
25 | %define PGM_HANDY_PAGES_MIN 32
|
---|
26 | %ifdef RT_OS_DARWIN
|
---|
27 | %define VMM_STACK_SIZE 16384
|
---|
28 | %else
|
---|
29 | %define VMM_STACK_SIZE 8192
|
---|
30 | %endif
|
---|
31 | %define VMM_MIN_CPU_COUNT 1
|
---|
32 | %define VMM_MAX_CPU_COUNT 32
|
---|
33 | %define VBOX_PCI_VENDORID (0x80ee)
|
---|
34 | %define VBOX_VENDORID VBOX_PCI_VENDORID
|
---|
35 | %define VBOX_DEVICEID (0xbeef)
|
---|
36 | %define VBOX_VESA_VENDORID VBOX_PCI_VENDORID
|
---|
37 | %define VBOX_VESA_DEVICEID (0xbeef)
|
---|
38 | %define VMMDEV_VENDORID VBOX_PCI_VENDORID
|
---|
39 | %define VMMDEV_DEVICEID (0xcafe)
|
---|
40 | %define VBOX_MAX_GSO_SIZE 0xfff0
|
---|
41 | %endif
|
---|