VirtualBox

Changeset 42781 in vbox for trunk/src


Ignore:
Timestamp:
Aug 11, 2012 10:50:07 PM (12 years ago)
Author:
vboxsync
Message:

PATM: Log statement. Added some notes wrt to NT4SP1 boot issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r41965 r42781  
    40494049    int rc;
    40504050    PVMCPU pVCpu = VMMGetCpu0(pVM);
     4051    LogFlow(("PATMR3InstallPatch: %08x (%#llx)\n", pInstrGC, flags));
    40514052
    40524053    if (    !pVM
     
    40804081    if (pVM->patm.s.fOutOfMemory == true)
    40814082        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
    40824107
    40834108    /* Make sure the code selector is wide open; otherwise refuse. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette