blob: 2eaeb1ea3380e887749bb62fe94493acabe95436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- virtualbox-modules-6.1.18/vboxdrv/SUPDrvTracer.c
+++ virtualbox-modules-6.1.18/vboxdrv/SUPDrvTracer.c
@@ -1472,29 +1472,32 @@
__asm__("\
.section .text \n\
\n\
- .p2align 2,,3 \n\
+ .p2align 4 \n\
.global SUPR0TracerFireProbe \n\
+ .type SUPR0TracerFireProbe, @function \n\
SUPR0TracerFireProbe: \n\
");
# if defined(RT_ARCH_AMD64)
-__asm__(" \
- movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\
+__asm__("\
+ movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\
jmp *%rax \n\
");
# elif defined(RT_ARCH_X86)
__asm__("\
- movl g_pfnSupdrvProbeFireKernel, %eax \n\
+ movl g_pfnSupdrvProbeFireKernel, %eax \n\
jmp *%eax \n\
");
# else
# error "Which arch is this?"
# endif
__asm__("\
+ .size SUPR0TracerFireProbe, . - SUPR0TracerFireProbe \n\
\n\
.type supdrvTracerProbeFireStub,@function \n\
.global supdrvTracerProbeFireStub \n\
supdrvTracerProbeFireStub: \n\
ret \n\
+ .size supdrvTracerProbeFireStub, . - supdrvTracerProbeFireStub \n\
\n\
.previous \n\
");
|