mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
prefix DEBUG_CONTROL constants with AMD64 as they are architecture specific
svn path=/branches/ros-amd64-bringup/; revision=43449
This commit is contained in:
@@ -195,13 +195,12 @@
|
||||
#define DBGKD_PARTITION_ALTERNATE 0x01
|
||||
|
||||
//
|
||||
// Control Space types
|
||||
// AMD64 Control Space types
|
||||
//
|
||||
#define DEBUG_CONTROL_SPACE_KPCR 0
|
||||
#define DEBUG_CONTROL_SPACE_KPRCB 1
|
||||
#define DEBUG_CONTROL_SPACE_KSPECIAL 2
|
||||
#define DEBUG_CONTROL_SPACE_KTHREAD 3
|
||||
#define X86_DEBUG_CONTROL_SPACE_KSPECIAL 716
|
||||
#define AMD64_DEBUG_CONTROL_SPACE_KPCR 0
|
||||
#define AMD64_DEBUG_CONTROL_SPACE_KPRCB 1
|
||||
#define AMD64_DEBUG_CONTROL_SPACE_KSPECIAL 2
|
||||
#define AMD64_DEBUG_CONTROL_SPACE_KTHREAD 3
|
||||
|
||||
|
||||
//
|
||||
|
||||
@@ -185,25 +185,25 @@ KdpSysReadControlSpace(IN ULONG Processor,
|
||||
|
||||
switch ((ULONG_PTR)BaseAddress)
|
||||
{
|
||||
case DEBUG_CONTROL_SPACE_KPCR:
|
||||
case AMD64_DEBUG_CONTROL_SPACE_KPCR:
|
||||
/* Copy a pointer to the Pcr */
|
||||
ControlStart = &Pcr;
|
||||
RealLength = sizeof(PVOID);
|
||||
break;
|
||||
|
||||
case DEBUG_CONTROL_SPACE_KPRCB:
|
||||
case AMD64_DEBUG_CONTROL_SPACE_KPRCB:
|
||||
/* Copy a pointer to the Prcb */
|
||||
ControlStart = &Prcb;
|
||||
RealLength = sizeof(PVOID);
|
||||
break;
|
||||
|
||||
case DEBUG_CONTROL_SPACE_KSPECIAL:
|
||||
case AMD64_DEBUG_CONTROL_SPACE_KSPECIAL:
|
||||
/* Copy SpecialRegisters */
|
||||
ControlStart = &Prcb->ProcessorState.SpecialRegisters;
|
||||
RealLength = sizeof(KSPECIAL_REGISTERS);
|
||||
break;
|
||||
|
||||
case DEBUG_CONTROL_SPACE_KTHREAD:
|
||||
case AMD64_DEBUG_CONTROL_SPACE_KTHREAD:
|
||||
/* Copy a pointer to the current Thread */
|
||||
ControlStart = &Prcb->CurrentThread;
|
||||
RealLength = sizeof(PVOID);
|
||||
|
||||
Reference in New Issue
Block a user