Changeset 51955 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 9, 2014 2:29:07 PM (10 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r51947 r51955 3582 3582 /* XP & W2K3 doesn't have this function exported, so we've cooked up a 3583 3583 few alternative in the assembly helper file that uses the code in 3584 ZwQueryVolumeInformationFile with a different eax value. */ 3584 ZwReadFile with a different eax value. We figure the syscall number 3585 by inspecting ZwQueryVolumeInformationFile as it's the next number. */ 3585 3586 # ifdef RT_ARCH_X86 3586 3587 uint8_t const *pbCode = (uint8_t const *)(uintptr_t)ZwQueryVolumeInformationFile; -
trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm
r51789 r51955 51 51 ; 52 52 ; Faking up ZwQueryVirtualMemory on XP and W2K3 where it's not exported. 53 ; Using Zw QueryVolumeInformationFile as a helper.53 ; Using ZwReadFile as a helper as it has the name number of parameters. 54 54 ; 55 extern IMPNAME(Zw QueryVolumeInformationFile@20)55 extern IMPNAME(ZwReadFile@24) 56 56 57 57 BEGINPROC supdrvNtQueryVirtualMemory_Xxx … … 79 79 80 80 supdrvNtQueryVirtualMemory_Jump: 81 mov edx, IMP2(Zw QueryVolumeInformationFile@20)81 mov edx, IMP2(ZwReadFile@24) 82 82 lea edx, [edx + 5] 83 83 jmp edx
Note:
See TracChangeset
for help on using the changeset viewer.