- Timestamp:
- Aug 11, 2012 10:50:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r41965 r42781 4049 4049 int rc; 4050 4050 PVMCPU pVCpu = VMMGetCpu0(pVM); 4051 LogFlow(("PATMR3InstallPatch: %08x (%#llx)\n", pInstrGC, flags)); 4051 4052 4052 4053 if ( !pVM … … 4080 4081 if (pVM->patm.s.fOutOfMemory == true) 4081 4082 return VERR_PATCHING_REFUSED; 4083 4084 #if 0 /* DONT COMMIT ENABLED! */ 4085 /* Blacklisted NT4SP1 areas - debugging why we sometimes crash early on, */ 4086 if ( 0 4087 //|| (pInstrGC - 0x80010000U) < 0x10000U // NT4SP1 HAL 4088 //|| (pInstrGC - 0x80010000U) < 0x5000U // NT4SP1 HAL 4089 //|| (pInstrGC - 0x80013000U) < 0x2000U // NT4SP1 HAL 4090 //|| (pInstrGC - 0x80014000U) < 0x1000U // NT4SP1 HAL 4091 //|| (pInstrGC - 0x80014000U) < 0x800U // NT4SP1 HAL 4092 //|| (pInstrGC - 0x80014400U) < 0x400U // NT4SP1 HAL 4093 //|| (pInstrGC - 0x80014400U) < 0x200U // NT4SP1 HAL 4094 //|| (pInstrGC - 0x80014400U) < 0x100U // NT4SP1 HAL 4095 //|| (pInstrGC - 0x80014500U) < 0x100U // NT4SP1 HAL - negative 4096 //|| (pInstrGC - 0x80014400U) < 0x80U // NT4SP1 HAL 4097 //|| (pInstrGC - 0x80014400U) < 0x80U // NT4SP1 HAL 4098 //|| (pInstrGC - 0x80014440U) < 0x40U // NT4SP1 HAL 4099 //|| (pInstrGC - 0x80014440U) < 0x20U // NT4SP1 HAL 4100 || pInstrGC == 0x80014447 /* KfLowerIrql */ 4101 || 0) 4102 { 4103 Log(("PATMR3InstallPatch: %08x is blacklisted\n", pInstrGC)); 4104 return VERR_PATCHING_REFUSED; 4105 } 4106 #endif 4082 4107 4083 4108 /* Make sure the code selector is wide open; otherwise refuse. */
Note:
See TracChangeset
for help on using the changeset viewer.