VirtualBox

source: vbox/trunk/include/VBox/param.mac@ 67066

最後變更 在這個檔案從67066是 66148,由 vboxsync 提交於 8 年 前

kmk -f Maintenance.kmk incs

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.7 KB
 
1%ifndef ___VBox_param_h
2%define ___VBox_param_h
3%if ARCH_BITS == 64
4 %define VBOX_MAX_ALLOC_PAGE_COUNT (_512M / PAGE_SIZE)
5%else
6 %define VBOX_MAX_ALLOC_PAGE_COUNT (_256M / PAGE_SIZE)
7%endif
8%define MM_HYPER_AREA_ADDRESS 0xa0000000
9%define MM_HYPER_AREA_MAX_SIZE (40U * _1M)
10%define MM_HYPER_DYNAMIC_SIZE (16U * PAGE_SIZE)
11%define MM_RAM_MIN 0x00400000
12%if HC_ARCH_BITS == 64
13 %define MM_RAM_MAX 0x20000000000
14%else
15 %define MM_RAM_MAX 0x000E0000000
16%endif
17%define MM_RAM_MIN_IN_MB 4
18%if HC_ARCH_BITS == 64
19 %define MM_RAM_MAX_IN_MB 2097152
20%else
21 %define MM_RAM_MAX_IN_MB 3584
22%endif
23%define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
24%if HC_ARCH_BITS == 64
25 %define MM_MMIO_64_MAX _1T
26%else
27 %define MM_MMIO_64_MAX (_1G64 * 16)
28%endif
29%define MM_MMIO_32_MAX _2G
30%define PGM_HANDY_PAGES 128
31%define PGM_HANDY_PAGES_SET_FF 32
32%define PGM_HANDY_PAGES_R3_ALLOC 8
33%define PGM_HANDY_PAGES_RZ_ALLOC 8
34%define PGM_HANDY_PAGES_RZ_TO_R3 24
35%define PGM_HANDY_PAGES_MIN 32
36%ifdef RT_OS_DARWIN
37 %define VMM_STACK_SIZE 16384
38%else
39 %define VMM_STACK_SIZE 8192
40%endif
41%define VMM_MIN_CPU_COUNT 1
42%define VMM_MAX_CPU_COUNT 64
43%define VBOX_PCI_VENDORID (0x80ee)
44%define VBOX_VENDORID VBOX_PCI_VENDORID
45%define VBOX_DEVICEID (0xbeef)
46%define VBOX_VESA_VENDORID VBOX_PCI_VENDORID
47%define VBOX_VESA_DEVICEID (0xbeef)
48%define VMMDEV_VENDORID VBOX_PCI_VENDORID
49%define VMMDEV_DEVICEID (0xcafe)
50%define VBOX_MAX_GSO_SIZE 0xfff0
51%endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette