Changeset 40830 in vbox
- Timestamp:
- Apr 8, 2012 7:51:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxTpG.cpp
r40826 r40830 743 743 " jz .return ; jump on false\n"); 744 744 745 #if 0 745 746 /* 746 747 * Shuffle the arguments around, replacing the location pointer with the probe ID. … … 773 774 : 774 775 " mov ecx, [rcx + 4] ; idProbe replaces pVTGProbeLoc.\n" 775 " jmp NAME( SUPR0FireProbe)\n"776 " jmp NAME(%s)\n" 776 777 , g_pszProbeFnName); 777 778 else … … 782 783 : 783 784 " mov edi, [rdi + 4] ; idProbe replaces pVTGProbeLoc.\n" 784 " jmp NAME( SUPR0FireProbe)\n"785 " jmp NAME(%s)\n" 785 786 , g_pszProbeFnName); 787 #else 788 /* 789 * Jump to the fire-probe function. 790 */ 791 if (g_cBits == 32) 792 ScmStreamPrintf(pStrm, g_fProbeFnImported ? 793 " mov ecx, IMP2(%s)\n" 794 " jmp ecx\n" 795 : 796 " jmp NAME(%s)\n" 797 , g_pszProbeFnName); 798 else if (fWin64) 799 ScmStreamPrintf(pStrm, g_fProbeFnImported ? 800 " mov rax, IMP2(%s)\n" 801 " jmp rax\n" 802 : 803 " jmp NAME(%s)\n" 804 , g_pszProbeFnName); 805 else 806 ScmStreamPrintf(pStrm, g_fProbeFnImported ? 807 " lea rax, [IMP2(%s)]\n" //??? macho64? 808 " jmp rax\n" 809 : 810 " jmp NAME(%s)\n" 811 , g_pszProbeFnName); 812 #endif 786 813 787 814 ScmStreamPrintf(pStrm,
Note:
See TracChangeset
for help on using the changeset viewer.