win-pvdrivers

view uninstall_0.10.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 <james.harper@bendigoit.com.au>
date Wed Oct 14 14:46:39 2009 +1100 (2009-10-14)
parents 67baf8f3c424
children
line source
1 @ECHO OFF
3 REM stop and remove shutdownmon service
4 net stop shutdownmon
5 "%ProgramFiles%\Xen PV Drivers\bin\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" >%TEMP%\james
18 FOR /f %%c IN (%TEMP%\james) DO (
19 IF /I %%c NEQ 0 (
20 DEL "%SYSTEMROOT%\INF\%%I.inf"
21 DEL "%SYSTEMROOT%\INF\%%I.pnf"
22 )
23 )
24 )
26 REM clean registry
27 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenHide /f
28 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenNet /f
29 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenPci /f
30 REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\XenVbd /f
31 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318} /v UpperFilters /f
32 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318} /v UpperFilters /f
33 REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318} /v UpperFilters /f
34 ECHO done