// wdbgexts.h
VOID WriteControlSpace(
USHORT processor,
ULONG address,
PVOID buf,
ULONG size
);
View the official Windows Driver Kit DDI referenceNo description available.
The WriteControlSpace function writes to the processor-specific control space of the current target.
processorSpecifies the index of the processor whose control space is to be written.
addressSpecifies the address of the control space.
bufSpecifies the data to be written to the control space.
sizeSpecifies the number of bytes to be written. This is the number of bytes in the buf buffer.
This function can only be called in kernel-mode debugging.