Author: sir_richard
Date: Tue Feb  9 03:38:23 2010
New Revision: 45523

URL: http://svn.reactos.org/svn/reactos?rev=45523&view=rev
Log:
[FREELDR]: No Linux support for ARM, no RS232 support for ARM, and no complex 
debug infrastructure for ARM either.

Modified:
    trunk/reactos/boot/freeldr/freeldr/comm/rs232.c
    trunk/reactos/boot/freeldr/freeldr/debug.c
    trunk/reactos/boot/freeldr/freeldr/include/debug.h
    trunk/reactos/boot/freeldr/freeldr/linuxboot.c

Modified: trunk/reactos/boot/freeldr/freeldr/comm/rs232.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/comm/rs232.c?rev=45523&r1=45522&r2=45523&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/comm/rs232.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/comm/rs232.c [iso-8859-1] Tue Feb  9 
03:38:23 2010
@@ -18,6 +18,8 @@
  *  with this program; if not, write to the Free Software Foundation, Inc.,
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
+ 
+#ifndef _M_ARM
 
 #include <freeldr.h>
 
@@ -275,8 +277,6 @@
        WRITE_PORT_UCHAR (SER_THR(Rs232PortBase), ByteToSend);
 }
 
-#endif /* DBG */
-
 BOOLEAN Rs232PortInUse(ULONG Base)
 {
 #if DBG
@@ -285,3 +285,6 @@
     return FALSE;
 #endif
 }
+
+#endif /* DBG */
+#endif

Modified: trunk/reactos/boot/freeldr/freeldr/debug.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/debug.c?rev=45523&r1=45522&r2=45523&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/debug.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/debug.c [iso-8859-1] Tue Feb  9 03:38:23 
2010
@@ -21,7 +21,7 @@
 
 #include <debug.h>
 
-#if DBG
+#if defined(DBG) && !defined(_M_ARM)
 
 //#define DEBUG_ALL
 //#define DEBUG_INIFILE

Modified: trunk/reactos/boot/freeldr/freeldr/include/debug.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/debug.h?rev=45523&r1=45522&r2=45523&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/debug.h [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/debug.h [iso-8859-1] Tue Feb  9 
03:38:23 2010
@@ -39,7 +39,7 @@
 extern char* g_file;
 extern int g_line;
 
-#if DBG
+#if defined(DBG) && !defined(_M_ARM)
 
     VOID       DbgPrintMask(ULONG Mask, char *format, ...);
        VOID    DebugInit(VOID);
@@ -80,7 +80,7 @@
 
 #else
 
-       #define DebugInit()
+       #define DebugInit(x)
        #define DPRINTM(_x_, ...)
        #define BugCheck(_x_)
        #define DbgDumpBuffer(_x_, _y_, _z_)

Modified: trunk/reactos/boot/freeldr/freeldr/linuxboot.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/linuxboot.c?rev=45523&r1=45522&r2=45523&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/linuxboot.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/linuxboot.c [iso-8859-1] Tue Feb  9 
03:38:23 2010
@@ -17,10 +17,10 @@
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-
+#ifndef _M_ARM
+ 
 #include <freeldr.h>
 #include <debug.h>
-
 #ifdef __i386__
 #define        LINUX_READ_CHUNK_SIZE   0x20000                 // Read 128k at 
a time
 
@@ -516,3 +516,4 @@
        return TRUE;
 }
 #endif /* __i386__ */
+#endif


Reply via email to