KdpWriteInstructionBuffer

VOID __stdcall KdpWriteInstructionBuffer(UINT64 *Content, UINT64 Instruction, UINT8 InstructionSize){
  switch( InstructionSize )
  {
    case 1u:
      *(_BYTE *)Content = Instruction;
      break;
    case 2u:
      *(_WORD *)Content = Instruction;
      break;
    case 4u:
      *(_DWORD *)Content = Instruction;
      break;
    case 8u:
      *Content = Instruction;
      break;
  }
}

Referenced by:

KdpInsertBreakpoint
KdpRemoveBreakpoint