Changeset 418 in vbox
- Timestamp:
- Jan 29, 2007 6:07:22 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17991
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r403 r418 2822 2822 *u.pb++ = 2; 2823 2823 2824 /* jump to forward code. */2824 /* jump to forwarder code. */ 2825 2825 *u.pb++ = 0xeb; 2826 2826 uFixJmp = u; 2827 2827 *u.pb++ = 0xfe; 2828 2828 2829 /* Call _VMMR0Entry */ // @VBoxCall: 2830 /* (This pushing of the arguments is NOT necessary, but it may ease debugging.) */ 2831 # ifdef __WIN64__ 2829 // @VBoxCall: 2830 *u.pb++ = 0x0f; // swapgs 2831 *u.pb++ = 0x01; 2832 *u.pb++ = 0xf8; 2833 2834 /* 2835 * Call VMMR0Entry 2836 * We don't have to push the arguments here, but we have to 2837 * reserve some stack space for the interrupt forwarding. 2838 */ 2839 # ifdef __WIN__ 2832 2840 *u.pb++ = 0x50; // push rax ; alignment filler. 2833 2841 *u.pb++ = 0x41; // push r8 ; uArg … … 2851 2859 *u.pb++ = 0xc4; 2852 2860 *u.pu32++ = 0x20; 2861 2862 *u.pb++ = 0x0f; // swapgs 2863 *u.pb++ = 0x01; 2864 *u.pb++ = 0xf8; 2853 2865 2854 2866 /* Return to R3. */
Note:
See TracChangeset
for help on using the changeset viewer.