Home
last modified time | relevance | path

Searched refs:Dr7Value (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/
DDebugAgent.c852 UINTN Dr7Value; in SetDebugRegister() local
861 Dr7Value = CpuContext->Dr7; in SetDebugRegister()
866 Dr7Value |= (UINTN) (0x3 << (RegisterIndex * 2)); in SetDebugRegister()
870 Dr7Value &= (UINTN) (~(0xf << (16 + RegisterIndex * 4))); in SetDebugRegister()
871Dr7Value |= (UINTN) ((SetHwBreakpoint->Type.Length << 2) | SetHwBreakpoint->Type.Access) << (16 + … in SetDebugRegister()
875 Dr7Value |= 0x300; in SetDebugRegister()
877 CpuContext->Dr7 = Dr7Value; in SetDebugRegister()