Changeset 106921 in vbox for trunk/src/VBox/ExtPacks
- Timestamp:
- Nov 11, 2024 9:51:28 AM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 165847
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
r106061 r106921 266 266 VBoxDTraceR0_SOURCES = \ 267 267 VBoxDTraceR0.cpp \ 268 VBoxDTraceR0A.asm \269 268 $(VBOXDT_PATH_UTS)/common/dtrace/dtrace.c 269 VBoxDTraceR0_SOURCES.amd64 = \ 270 VBoxDTraceR0A.asm 271 VBoxDTraceR0_SOURCES.x86 = \ 272 VBoxDTraceR0A.asm 273 VBoxDTraceR0_SOURCES.arm64 = \ 274 VBoxDTraceR0A-arm64.S 270 275 VBoxDTraceR0_LIBS = \ 271 276 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ -
trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0.cpp
r106061 r106921 26 26 #include <VBox/log.h> 27 27 28 #include <iprt/asm-amd64-x86.h> 28 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 29 # include <iprt/asm-amd64-x86.h> 30 #endif 29 31 #include <iprt/assert.h> 30 32 #include <iprt/ctype.h> -
trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0A-arm64.S
r106920 r106921 1 ; $Id$ 2 ;;@file3 ; VBoxDTraceR0 - Assembly Hacks.4 ; 5 ;Contributed by: bird6 ; 1 /* $Id$ */ 2 /** @file 3 * VBoxDTraceR0. 4 * 5 * Contributed by: bird 6 */ 7 7 8 ; 9 ;Copyright (C) 2012-2024 Oracle and/or its affiliates.10 ; 11 ;This file is part of VirtualBox base platform packages, as12 ;available from http://www.virtualbox.org.13 ; 14 ;The contents of this file are subject to the terms of the Common15 ;Development and Distribution License Version 1.0 (CDDL) only, as it16 ;comes in the "COPYING.CDDL" file of the VirtualBox distribution.17 ; 18 ;SPDX-License-Identifier: CDDL-1.019 ; 8 /* 9 * Copyright (C) 2012-2024 Oracle and/or its affiliates. 10 * 11 * This file is part of VirtualBox base platform packages, as 12 * available from http://www.virtualbox.org. 13 * 14 * The contents of this file are subject to the terms of the Common 15 * Development and Distribution License Version 1.0 (CDDL) only, as it 16 * comes in the "COPYING.CDDL" file of the VirtualBox distribution. 17 * 18 * SPDX-License-Identifier: CDDL-1.0 19 */ 20 20 21 22 23 %include "iprt/asmdefs.mac" 21 #include "iprt/asmdefs-arm.h" 24 22 25 23 BEGINCODE 26 24 25 BEGINPROC dtrace_probe6 26 b NAME(dtrace_probe) 27 ENDPROC dtrace_probe6 27 28 28 extern NAME(dtrace_probe)29 29 30 GLOBALNAME dtrace_probe631 jmp NAME(dtrace_probe)32 -
trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h
r106061 r106921 130 130 # endif 131 131 # if !defined(_LITTLE_ENDIAN) || (!defined(RT_OS_SOLARIS) && !defined(RT_OS_FREEBSD)) 132 # define _LITTLE_ENDIAN 1 133 # endif 134 135 #elif defined(RT_ARCH_ARM64) 136 # ifndef _LP64 137 # define _LP64 1 138 # endif 139 # if !defined(_LITTLE_ENDIAN) 132 140 # define _LITTLE_ENDIAN 1 133 141 # endif -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c
r83810 r106921 114 114 */ 115 115 # include <iprt/asm.h> 116 # include <iprt/asm-amd64-x86.h> 116 # if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 117 # include <iprt/asm-amd64-x86.h> 118 # elif defined(RT_ARCH_ARM64) 119 # include <iprt/asm-arm.h> 120 # endif 117 121 # define dtrace_casptr(a_ppvDst, a_pvOld, a_pvNew) \ 118 122 VBoxDtCompareAndSwapPtr((void * volatile *)a_ppvDst, a_pvOld, a_pvNew) … … 133 137 } 134 138 135 # define dtrace_membar_consumer() ASMReadFence()136 # define dtrace_membar_producer() ASMWriteFence()137 # define dtrace_interrupt_disable() ASMIntDisableFlags()138 # define dtrace_interrupt_enable(a_EFL)ASMSetFlags(a_EFL)139 # define dtrace_membar_consumer() ASMReadFence() 140 # define dtrace_membar_producer() ASMWriteFence() 141 # define dtrace_interrupt_disable() ASMIntDisableFlags() 142 # define dtrace_interrupt_enable(a_EFL) ASMSetFlags(a_EFL) 139 143 140 144 /*
Note:
See TracChangeset
for help on using the changeset viewer.