Changeset 103723 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Mar 7, 2024 10:20:39 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp
r103684 r103723 56 56 #include <iprt/uuid.h> 57 57 58 #if RTLNX_VER_MIN(4,15,10) 59 # include <asm/nospec-branch.h> 60 #endif 61 #if RTLNX_VER_MIN(5,17,0) 62 # include <asm/linkage.h> 63 #endif 58 64 59 65 /********************************************************************************************************************************* … … 1498 1504 __asm__("\ 1499 1505 movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\ 1506 " 1507 # if RTLNX_VER_MIN(4,15,10) 1508 ANNOTATE_RETPOLINE_SAFE 1509 # endif 1510 " \n\ 1500 1511 jmp *%rax \n\ 1501 1512 "); … … 1503 1514 __asm__("\ 1504 1515 movl g_pfnSupdrvProbeFireKernel, %eax \n\ 1516 " 1517 # if RTLNX_VER_MIN(4,15,10) 1518 ANNOTATE_RETPOLINE_SAFE 1519 # endif 1520 " \n\ 1505 1521 jmp *%eax \n\ 1506 1522 "); … … 1514 1530 .global supdrvTracerProbeFireStub \n\ 1515 1531 supdrvTracerProbeFireStub: \n\ 1516 ret \n\ 1517 .size supdrvTracerProbeFireStub, . - supdrvTracerProbeFireStub \n\ 1532 " 1533 # if RTLNX_VER_MIN(5,17,0) 1534 ASM_RET "\n\ 1535 " 1536 # else 1537 "ret \n\ 1538 " 1539 # endif 1540 ".size supdrvTracerProbeFireStub, . - supdrvTracerProbeFireStub \n\ 1518 1541 \n\ 1519 1542 .previous \n\
Note:
See TracChangeset
for help on using the changeset viewer.