Changeset 40783 in vbox
- Timestamp:
- Apr 5, 2012 11:37:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp
r40782 r40783 872 872 */ 873 873 #if defined(__GNUC__) && (defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX)) 874 # if 0/* Need to check this out on linux (on mac now) */874 # if 1 /* Need to check this out on linux (on mac now) */ 875 875 /*DECLASM(void) supdrvTracerProbeFireStub(void);*/ 876 876 __asm__ __volatile__("\ 877 .pushsection .text \ 878 \ 879 .p2align 2,,3 \ 880 .type supdrvTracerProbeFireStub,@function \ 881 .global supdrvTracerProbeFireStub \ 882 supdrvTracerProbeFireStub: \ 883 ret \ 884 supdrvTracerProbeFireStub_End: \ 885 .size supdrvTracerProbeFireStub_End - supdrvTracerProbeFireStub \ 886 \ 887 .p2align 2,,3 \ 888 .global SUPR0TracerFireProbe \ 889 SUPR0TracerFireProbe: \ 877 .section .text \n\ 878 \n\ 879 .p2align 2,,3 \n\ 880 .global SUPR0TracerFireProbe \n\ 881 SUPR0TracerFireProbe: \n\ 890 882 "); 891 883 # if defined(RT_ARCH_AMD64) 892 __asm__ __volatile__(" 893 mov g_pfnSupdrvProbeFireKernel(%rip), %rax\894 jmp *%rax\895 "); 884 __asm__ __volatile__(" \ 885 movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\ 886 jmp *%rax \n\ 887 "); 896 888 # elif defined(RT_ARCH_X86) 897 __asm__ __volatile__(" 898 mov g_pfnSupdrvProbeFireKernel, %eax\899 jmp *%eax\889 __asm__ __volatile__("\ 890 movl g_pfnSupdrvProbeFireKernel, %eax \n\ 891 jmp *%eax \n\ 900 892 "); 901 893 # else 902 894 # error "Which arch is this?" 903 895 #endif 904 __asm__ __volatile__(" \ 905 SUPR0TracerFireProbe_End: \ 906 .size SUPR0TracerFireProbe_End - SUPR0TracerFireProbe \ 907 .popsection \ 896 __asm__ __volatile__("\ 897 \n\ 898 .type supdrvTracerProbeFireStub,@function \n\ 899 .global supdrvTracerProbeFireStub \n\ 900 supdrvTracerProbeFireStub: \n\ 901 ret \n\ 902 \n\ 903 .previous \n\ 908 904 "); 909 905
Note:
See TracChangeset
for help on using the changeset viewer.