__readdr
Microsoft Specific
Reads the value of the specified debug register.
Syntax
unsigned __readdr(unsigned int DebugRegister); /* x86 */
unsigned __int64 __readdr(unsigned int DebugRegister); /* x64 */
Parameters
DebugRegister
[in] A constant from 0 through 7 that identifies the debug register.
Return value
The value of the specified debug register.
Remarks
These intrinsics are available only in kernel mode, and the routines are available only as intrinsics.
Requirements
Intrinsic | Architecture |
---|---|
__readdr |
x86, x64 |
Header file <intrin.h>
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for