VirtualBox

source: vbox/trunk/src/VBox/VMM/Config.kmk@ 96249

Last change on this file since 96249 was 95403, checked in by vboxsync, 2 years ago

VMM/IEM: vxorps, vxorpd, vpxor, xorps, xorpd and various related fixes. bugref:9898

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1# $Id: Config.kmk 95403 2022-06-27 23:38:38Z vboxsync $
2## @file
3# kBuild Configuration file for the VMM.
4#
5
6#
7# Copyright (C) 2006-2022 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18VBOX_VMM_CONFIG_KMK_INCLUDED = 1
19
20# Include the top-level configure file.
21ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
22 include $(PATH_ROOT)/Config.kmk
23endif
24
25#
26# Globals
27#
28
29## DEFS variable that is picked up by all three VMM targets (R0, R3, RC).
30# Can be prepended to by setting it in LocalConfig.kmk
31VMM_COMMON_DEFS := USING_VMM_COMMON_DEFS
32ifdef VBOX_WITH_HWVIRT
33 VMM_COMMON_DEFS += VBOX_WITH_HWVIRT
34endif
35ifdef VBOX_WITH_NESTED_HWVIRT_SVM
36 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_SVM
37endif
38ifdef VBOX_WITH_IEM_TLB ## @todo VMX code doesn't compile with TLBs enabled.
39 VMM_COMMON_DEFS += IEM_WITH_CODE_TLB IEM_WITH_DATA_TLB
40else
41 ifdef VBOX_WITH_NESTED_HWVIRT_VMX
42 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX
43 endif
44 ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
45 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX_EPT
46 endif
47 ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
48 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
49 endif
50endif
51ifdef IEM_WITHOUT_ASSEMBLY
52 VMM_COMMON_DEFS += IEM_WITHOUT_ASSEMBLY
53endif
54# part of global DEFS
55ifdef VBOX_WITH_MULTI_CORE
56 VMM_COMMON_DEFS += VBOX_WITH_MULTI_CORE
57endif
58ifdef VBOX_WITH_R0_LOGGING
59 VMM_COMMON_DEFS += VBOX_WITH_R0_LOGGING
60endif
61ifdef VBOX_WITH_PCI_PASSTHROUGH
62 VMM_COMMON_DEFS += VBOX_WITH_PCI_PASSTHROUGH
63endif
64ifdef VBOX_WITH_DTRACE_RC
65 VMM_COMMON_DEFS += VBOX_WITH_DTRACE_RC
66endif
67ifdef VBOX_WITH_SAFE_STR
68 VMM_COMMON_DEFS += VBOX_WITH_SAFE_STR
69endif
70ifdef VBOX_WITH_64ON32_CMOS_DEBUG
71 VMM_COMMON_DEFS += VBOX_WITH_64ON32_CMOS_DEBUG
72endif
73ifdef VBOXSTRICTRC_STRICT_ENABLED
74 VMM_COMMON_DEFS += VBOXSTRICTRC_STRICT_ENABLED
75endif
76if defined(VBOX_WITH_NATIVE_NEM) || !defined(VBOX_WITHOUT_PGM_NEM_MODE)
77 VMM_COMMON_DEFS += VBOX_WITH_PGM_NEM_MODE
78endif
79ifdef VBOX_WITH_NATIVE_NEM
80 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.amd64 linux.amd64 win.amd64)
81 VMM_COMMON_DEFS += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
82 endif
83endif
84if1of ($(KBUILD_TARGET), freebsd linux solaris) # Hosts that implements SUPR0HCPhysToVirt.
85 VMM_COMMON_DEFS += VBOX_WITH_LINEAR_HOST_PHYS_MEM
86endif
87
88# VMM_COMMON_DEFS += VBOX_WITH_NS_ACCOUNTING_STATS
89
Note: See TracBrowser for help on using the repository browser.

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