- Fix ARM NTOS brekage (and amd64/ppc):

- Only build kd/i386 on i386 builds since this code is x86-32 centric.
  - Only call KdpEnableSafeMem on i386 builds, since the code uses x86-32 centric defines.

svn path=/trunk/; revision=34977
This commit is contained in:
ReactOS Portable Systems Group 2008-07-31 07:31:55 +00:00
parent ddaf47dec3
commit f492f5a8cd
2 changed files with 10 additions and 4 deletions

View file

@ -258,7 +258,11 @@ KdInitSystem(ULONG BootPhase,
return TRUE;
}
else
KdpEnableSafeMem();
{
#ifdef _M_IX86
KdpEnableSafeMem();
#endif
}
/* Call the Initialization Routines of the Registered Providers */
KdpCallInitRoutine(BootPhase);

View file

@ -273,9 +273,11 @@
</directory>
</directory>
<directory name="kd">
<directory name="i386">
<file>kdmemsup.c</file>
</directory>
<if property="ARCH" value="i386">
<directory name="i386">
<file>kdmemsup.c</file>
</directory>
</if>
</directory>
<if property="_WINKD_" value="0">
<directory name="kdbg">