view uninstall_0.9.x.bat @ 685:c13ccf5a629b

Fixed a bug in the dma routines which was causing memory corruption. In some cases when Windows gave an MDL that was longer than the buffer to be dma'd, the end of the buffer would be overwritten. The only time I am aware of this occuring is on one particular map in Call Of Duty 4.

Split out the dma routines from xenpci_pdo.c into xenpci_dma.c
author James Harper <>
date Wed Oct 14 14:46:39 2009 +1100 (2009-10-14)
parents cbd4e4ae9527
line source
3 REM stop and remove shutdownmon service
4 net stop shutdownmon
5 "%ProgramFiles%\Xen PV Drivers\ShutdownMon.exe" -u
7 REM remove XEN from Program Files
8 rmdir /q /s "%ProgramFiles%\Xen PV Drivers"
10 REM remove start menu stuff
11 ECHO "Please remove Start Menu stuff manually"
13 del /q "%SystemRoot%\system32\drivers\xen*"
15 REM delete inf and pnf files
16 FOR /F "delims=. tokens=1" %%I IN ('DIR /B "%SYSTEMROOT%\INF\OEM*.INF"') DO (
17 TYPE "%SYSTEMROOT%\INF\%%I.inf" | FIND /c /i "xen" >james
18 FOR /f %%c IN (james) DO (
19 IF /I %%c NEQ 0 (
22 )
23 )
24 )
26 REM clean registry
27 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenConfig /f
28 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenHide /f
29 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenNet /f
30 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenPCI /f
31 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenStub /f
32 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenVbd /f
33 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318} /v UpperFilters /f
34 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318} /v UpperFilters /f
35 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318} /v UpperFilters /f
36 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318} /v UpperFilters /f
38 ECHO done