VirtualBox

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

Last change on this file since 84044 was 82968, checked in by vboxsync, 4 years ago

Copyright year updates by scm.

  • 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 82968 2020-02-04 10:35:17Z vboxsync $
2## @file
3# kBuild Configuration file for the VMM.
4#
5
6#
7# Copyright (C) 2006-2020 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_3RD_IEM_STEP
33 VMM_COMMON_DEFS += VBOX_WITH_3RD_IEM_STEP
34endif
35ifdef VBOX_WITH_NESTED_HWVIRT_SVM
36 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_SVM
37endif
38ifdef VBOX_WITH_NESTED_HWVIRT_VMX
39 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX
40endif
41ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
42 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
43endif
44#ifdef VBOX_WITH_IEM
45# VMM_COMMON_DEFS += VBOX_WITH_IEM
46#endif
47# part of global DEFS
48ifdef VBOX_WITH_MULTI_CORE
49 VMM_COMMON_DEFS += VBOX_WITH_MULTI_CORE
50endif
51ifdef VBOX_WITH_R0_LOGGING
52 VMM_COMMON_DEFS += VBOX_WITH_R0_LOGGING
53endif
54ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
55 VMM_COMMON_DEFS += VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
56endif
57ifdef VBOX_WITH_PCI_PASSTHROUGH
58 VMM_COMMON_DEFS += VBOX_WITH_PCI_PASSTHROUGH
59endif
60ifdef VBOX_WITH_DTRACE_RC
61 VMM_COMMON_DEFS += VBOX_WITH_DTRACE_RC
62endif
63ifdef VBOX_WITH_SAFE_STR
64 VMM_COMMON_DEFS += VBOX_WITH_SAFE_STR
65endif
66ifdef VBOX_WITH_64ON32_IDT
67 VMM_COMMON_DEFS += VBOX_WITH_64ON32_IDT
68endif
69ifdef VBOX_WITH_64ON32_CMOS_DEBUG
70 VMM_COMMON_DEFS += VBOX_WITH_64ON32_CMOS_DEBUG
71endif
72ifdef VBOXSTRICTRC_STRICT_ENABLED
73 VMM_COMMON_DEFS += VBOXSTRICTRC_STRICT_ENABLED
74endif
75ifeq ($(KBUILD_TARGET),amd64)
76 VMM_COMMON_DEFS += VBOX_WITH_MORE_RING0_MEM_MAPPINGS
77endif
78ifdef VBOX_WITH_NATIVE_NEM
79 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64)
80 VMM_COMMON_DEFS += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
81 endif
82endif
83ifdef VBOX_WITH_RAM_IN_KERNEL
84 VMM_COMMON_DEFS += VBOX_WITH_RAM_IN_KERNEL
85 if1of ($(KBUILD_TARGET), linux solaris) # Hosts that implements SUPR0HCPhysToVirt.
86 VMM_COMMON_DEFS += VBOX_WITH_LINEAR_HOST_PHYS_MEM
87 endif
88endif
89
90# VMM_COMMON_DEFS += VBOX_WITH_NS_ACCOUNTING_STATS
91
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use