ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

Definition at line 427 of file kdx86.c.

Referenced by KdDisableDebuggerWithLock().

{
    LONG i;
    ULONG Dr7;

    /* Loop every processor */
    for (i = 0; i < KeNumberProcessors; i++)
    {
        /* Get its DR7 */
        Dr7 =  KiProcessorBlock[i]->ProcessorState.SpecialRegisters.KernelDr7;

        /* Check if any processor breakpoints are active */
        if (Dr7 != 0)
        {
            /* We can't allow running without a debugger then */
            return STATUS_ACCESS_DENIED;
        }
    }

    /* No processor breakpoints; allow disabling the debugger */
    return STATUS_SUCCESS;
}

Generated on Sat May 26 2012 06:06:43 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.