Changeset 40784 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Apr 5, 2012 11:45:14 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77289
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp
r40783 r40784 872 872 */ 873 873 #if defined(__GNUC__) && (defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX)) 874 # if 1 /* Need to check this out on linux (on mac now) */875 /*DECLASM(void) supdrvTracerProbeFireStub(void);*/876 874 __asm__ __volatile__("\ 877 .section .text\n\875 .section .text \n\ 878 876 \n\ 879 .p2align 2,,3\n\880 .global SUPR0TracerFireProbe\n\877 .p2align 2,,3 \n\ 878 .global SUPR0TracerFireProbe \n\ 881 879 SUPR0TracerFireProbe: \n\ 882 880 "); 883 881 # if defined(RT_ARCH_AMD64) 884 882 __asm__ __volatile__(" \ 885 movq g_pfnSupdrvProbeFireKernel(%rip), %rax\n\886 jmp *%rax \n\887 "); 883 movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\ 884 jmp *%rax \n\ 885 "); 888 886 # elif defined(RT_ARCH_X86) 889 887 __asm__ __volatile__("\ 890 movl g_pfnSupdrvProbeFireKernel, %eax\n\891 jmp *%eax \n\888 movl g_pfnSupdrvProbeFireKernel, %eax \n\ 889 jmp *%eax \n\ 892 890 "); 893 891 # else … … 896 894 __asm__ __volatile__("\ 897 895 \n\ 898 .type supdrvTracerProbeFireStub,@function\n\899 .global supdrvTracerProbeFireStub\n\896 .type supdrvTracerProbeFireStub,@function \n\ 897 .global supdrvTracerProbeFireStub \n\ 900 898 supdrvTracerProbeFireStub: \n\ 901 ret\n\899 ret \n\ 902 900 \n\ 903 .previous\n\901 .previous \n\ 904 902 "); 905 906 # else907 SUPR0DECL(void) SUPR0TracerFireProbe(uint32_t idProbe, uintptr_t uArg0, uintptr_t uArg1, uintptr_t uArg2,908 uintptr_t uArg3, uintptr_t uArg4)909 {910 return;911 }912 913 DECLASM(void) supdrvTracerProbeFireStub(void)914 {915 return;916 }917 # endif918 903 #endif 919 904
Note:
See TracChangeset
for help on using the changeset viewer.