prefix DEBUG_CONTROL constants with AMD64 as they are architecture specific

svn path=/branches/ros-amd64-bringup/; revision=43449
This commit is contained in:
Timo Kreuzer
2009-10-14 11:53:30 +00:00
parent b29a47bfdf
commit c321e57645
2 changed files with 9 additions and 10 deletions
+5 -6
View File
@@ -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
//
+4 -4
View File
@@ -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);