VirtualBox

Changeset 91806 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 18, 2021 8:32:39 AM (3 years ago)
Author:
vboxsync
Message:

SUPDrv,tstVMMR0CallHost-2: Use the argument count from the function table for generating more optimal wrappers. Too bad we cannot make clang verify the counts, so adding a +2 for safety. bugref:10124

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR0-asm.sed

    r91801 r91806  
    3737# We are only interested in the SUPEXP_STK_BACK lines.
    3838/^ *SUPEXP_STK_BACKF*(/!d
    39 s/^ *SUPEXP_STK_BACKF*( *\([0-9][0-9]*\) *, *\([^)][^)]*\)),.*$/\/\/ ##### BEGINFILE \"StkBack_\2.asm\"\n%include "VBox\/SUPR0StackWrapper.mac"\nSUPR0StackWrapperGeneric \2\n\/\/ ##### ENDFILE/
     39s/^ *SUPEXP_STK_BACKF*( *\([0-9][0-9]*\) *, *\([^)][^)]*\)),.*$/\/\/ ##### BEGINFILE \"StkBack_\2.asm\"\n%include "VBox\/SUPR0StackWrapper.mac"\nSUPR0StackWrapperGeneric \2, \1\n\/\/ ##### ENDFILE/
    4040b end
    4141
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette