Changeset 40595 in vbox
- Timestamp:
- Mar 23, 2012 2:54:46 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/Config.kmk
r40564 r40595 1430 1430 endif 1431 1431 1432 ifdef VBOX_WITH_DTRACE_R3 1433 USES += dtrace 1434 endif 1432 USES += dtrace 1435 1433 1436 1434 # … … 1679 1677 ifeq ($(KBUILD_HOST),win) 1680 1678 # VBOX_XSLTPROC ?= $(PATH_DEVTOOLS)/win.x86/libxslt/10114/xsltproc.exe 1681 VBOX_XSLTPROC ?= $(PATH_DEVTOOLS)/win.x86/bin/xsltproc.exe1679 VBOX_XSLTPROC ?= $(PATH_DEVTOOLS)/win.x86/bin/xsltproc.exe 1682 1680 else ifeq ($(KBUILD_HOST),os2) 1683 VBOX_XSLTPROC ?= BEGINLIBPATH="$(PATH_DEVTOOLS_BLD)/bin;$$BEGINLIBPATH" $(PATH_DEVTOOLS_BLD)/bin/xsltproc.exe1684 else 1685 VBOX_XSLTPROC ?= xsltproc$(HOSTSUFF_EXE)1681 VBOX_XSLTPROC ?= BEGINLIBPATH="$(PATH_DEVTOOLS_BLD)/bin;$$BEGINLIBPATH" $(PATH_DEVTOOLS_BLD)/bin/xsltproc.exe 1682 else 1683 VBOX_XSLTPROC ?= xsltproc$(HOSTSUFF_EXE) 1686 1684 endif 1687 1685 1688 1686 # bin2c (convert binary files into C arrays) 1689 VBOX_BIN2C ?= $(PATH_OBJ)/bin2c/bin2c$(HOSTSUFF_EXE)1687 VBOX_BIN2C ?= $(PATH_OBJ)/bin2c/bin2c$(HOSTSUFF_EXE) 1690 1688 1691 1689 # biossums (set BIOS checksums) 1692 VBOX_BIOSSUMS ?= $(PATH_OBJ)/biossums/biossums$(HOSTSUFF_EXE)1690 VBOX_BIOSSUMS ?= $(PATH_OBJ)/biossums/biossums$(HOSTSUFF_EXE) 1693 1691 1694 1692 # RTManifest (extension pack manifest utility) 1695 1693 VBOX_RTMANIFEST ?= $(PATH_OBJ)/bldRTManifest/bldRTManifest$(HOSTSUFF_EXE) 1696 1694 1695 # VBoxTpG (tracepoint generator) 1696 VBOX_VBOXTPG ?= $(PATH_OBJ)/VBoxTpG/VBoxTpG$(HOSTSUFF_EXE) 1697 1697 1698 # filesplitter (splits java files) 1698 VBOX_FILESPLIT ?= $(PATH_OBJ)/filesplitter/filesplitter$(HOSTSUFF_EXE)1699 VBOX_FILESPLIT ?= $(PATH_OBJ)/filesplitter/filesplitter$(HOSTSUFF_EXE) 1699 1700 1700 1701 # GNU tar if present. … … 2169 2170 ifeq ($(KBUILD_TARGET),solaris) 2170 2171 $(APPEND) '$@' 'VBOX_GCC_msave-args ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)' 2171 # Detect the solaris assembler. It is used by the the 4.x gcc compilers, 2172 # apparently. It will not be able to handle IEMAll via a -pipe, only when 2172 # Detect the solaris assembler. It is used by the the 4.x gcc compilers, 2173 # apparently. It will not be able to handle IEMAll via a -pipe, only when 2173 2174 # passed a file. The solaris assmbler rulez ... not! 2174 2175 $(APPEND) '$@' 'VBOX_AS_VERSION ?= $(shell `gcc -print-prog-name=as` -V -o /dev/null < /dev/null 2>&1 | kmk_sed -e '1!d' -e 's/^as: *//' )' … … 2176 2177 $(APPEND) '$@' ' VBOX_GCC_USING_SOLARIS_AS=1' 2177 2178 $(APPEND) '$@' 'endif' 2178 $(APPEND) '$@' 'ifndef VBOX_GCC_USING_SOLARIS_AS' 2179 $(APPEND) '$@' 'ifndef VBOX_GCC_USING_SOLARIS_AS' 2179 2180 $(APPEND) '$@' ' VBOX_GCC_pipe ?= -pipe' 2180 2181 $(APPEND) '$@' 'endif' … … 2623 2624 endif 2624 2625 endif 2626 2627 # 2628 # VBoxTpG tool. 2629 # 2630 TOOL_VBoxTpG = The VirtualBox Tracepoint Generator 2631 TOOL_VBoxTpG_DTRACE_DEPEND = $(VBOX_VBOXTPG) 2632 TOOL_VBoxTpG_DTRACE_HDR_FLAGS := -h #-vvv 2633 define TOOL_VBoxTpG_DTRACE_HDR_CMDS 2634 $(QUIET)$(VBOX_VBOXTPG) $(flags) -o "$(out)" -s "$(source)" 2635 endef 2636 TOOL_VBoxTpG_DTRACE_OBJ_NOT_NEEDED := 2637 TOOL_VBoxTpG_DTRACE_OBJ_FLAGS := -G #-vvv 2638 define TOOL_VBoxTpG_DTRACE_OBJ_CMDS 2639 $(QUIET)$(VBOX_VBOXTPG) \ 2640 $(if-expr $(intersects $(bld_trg_arch),$(KBUILD_ARCHES_64)),-64,-32) \ 2641 $(flags) \ 2642 -o "$(out)" -s "$(source)" 2643 endef 2644 2645 # 2646 # VBoxTpG tool - Disabled, only generate the header. 2647 # 2648 TOOL_VBoxTpG-Disabled = The VirtualBox Tracepoint Generator, disabled. 2649 TOOL_VBoxTpG-Disabled_DTRACE_DEPEND = $(VBOX_VBOXTPG) 2650 TOOL_VBoxTpG-Disabled_DTRACE_HDR_FLAGS := -h 2651 define TOOL_VBoxTpG-Disabled_DTRACE_HDR_CMDS 2652 $(QUIET)$(VBOX_VBOXTPG) $(flags) -o "$(out)" -s "$(source)" 2653 endef 2654 TOOL_VBoxTpG-Disabled_DTRACE_OBJ_NOT_NEEDED := $(KBUILD_OSES) 2655 2625 2656 2626 2657 ifdef VBOX_WITH_RAW_MODE … … 2776 2807 TEMPLATE_VBoxR0_SYSSUFF = .r0 2777 2808 TEMPLATE_VBoxR0_MODE = a+r,u+w 2809 2810 TEMPLATE_VBoxR0_USES += dtrace 2811 ifdef VBOX_WITH_DTRACE_R0 2812 TEMPLATE_VBoxR0_DTRACETOOL = VBoxTpG 2813 TEMPLATE_VBoxR0_DEFS += VBOX_WITH_DTRACE VBOX_WITH_DTRACE_R0 2814 else 2815 TEMPLATE_VBoxR0_DTRACETOOL = VBoxTpG-Disabled 2816 endif 2778 2817 2779 2818 ifeq ($(VBOX_LDR_FMT),pe) -
trunk/src/VBox/VMM/Makefile.kmk
r40519 r40595 237 237 VBoxVMM_USES += dtrace 238 238 VBoxVMM_DEFS += VBOX_WITH_DTRACE VBOX_WITH_DTRACE_R3 239 VBoxVMM_SOURCES += V MMR3/VBoxVMM.d239 VBoxVMM_SOURCES += VBoxVMM.d 240 240 endif 241 241 … … 467 467 VMMR0_SOURCES = \ 468 468 VMMR0/CPUMR0.cpp \ 469 VBoxVMM.d \ 469 470 VMMR0/CPUMR0A.asm \ 470 471 VMMR0/GMMR0.cpp \ -
trunk/src/VBox/VMM/VBoxVMM.d
r40590 r40595 27 27 probe em__ff__raw(void *a_pVCpu, unsigned int a_fGlobal, unsigned int a_fLocal); 28 28 probe em__ff__raw_ret(void *a_pVCpu, int a_rc); 29 probe r0__gvmm__vm__created(void *a_pGVM, void *a_pVM, unsigned int a_Pid, void *a_hEMT0, unsigned int a_cCpus); 29 30 }; 30 31 -
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r39402 r40595 60 60 #include <VBox/param.h> 61 61 #include <VBox/err.h> 62 62 63 #include <iprt/asm.h> 63 64 #include <iprt/asm-amd64-x86.h> … … 77 78 #include <iprt/spinlock.h> 78 79 #include <iprt/timer.h> 80 81 #include "dtrace/VBoxVMM.h" 79 82 80 83 … … 751 754 RTNATIVETHREAD hEMT0 = RTThreadNativeSelf(); 752 755 AssertReturn(hEMT0 != NIL_RTNATIVETHREAD, VERR_GVMM_BROKEN_IPRT); 753 RT NATIVETHREADProcId = RTProcSelf();756 RTPROCESS ProcId = RTProcSelf(); 754 757 AssertReturn(ProcId != NIL_RTPROCESS, VERR_GVMM_BROKEN_IPRT); 755 758 … … 888 891 pVM->aCpus[0].hNativeThreadR0 = hEMT0; 889 892 pGVMM->cEMTs += cCpus; 893 894 VBOXVMM_R0_GVMM_VM_CREATED(pGVM, pVM, ProcId, (void *)hEMT0, cCpus); 890 895 891 896 gvmmR0UsedUnlock(pGVMM);
Note:
See TracChangeset
for help on using the changeset viewer.