[FREELDR]: No Linux support for ARM, no RS232 support for ARM, and no complex debug infrastructure for ARM either.

svn path=/trunk/; revision=45523
This commit is contained in:
Sir Richard 2010-02-09 02:38:23 +00:00
parent 2e97a01a5d
commit f0a8153aec
4 changed files with 11 additions and 7 deletions

View file

@ -18,6 +18,8 @@
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef _M_ARM
#include <freeldr.h> #include <freeldr.h>
@ -275,8 +277,6 @@ VOID Rs232PortPutByte(UCHAR ByteToSend)
WRITE_PORT_UCHAR (SER_THR(Rs232PortBase), ByteToSend); WRITE_PORT_UCHAR (SER_THR(Rs232PortBase), ByteToSend);
} }
#endif /* DBG */
BOOLEAN Rs232PortInUse(ULONG Base) BOOLEAN Rs232PortInUse(ULONG Base)
{ {
#if DBG #if DBG
@ -285,3 +285,6 @@ BOOLEAN Rs232PortInUse(ULONG Base)
return FALSE; return FALSE;
#endif #endif
} }
#endif /* DBG */
#endif

View file

@ -21,7 +21,7 @@
#include <debug.h> #include <debug.h>
#if DBG #if defined(DBG) && !defined(_M_ARM)
//#define DEBUG_ALL //#define DEBUG_ALL
//#define DEBUG_INIFILE //#define DEBUG_INIFILE

View file

@ -39,7 +39,7 @@
extern char* g_file; extern char* g_file;
extern int g_line; extern int g_line;
#if DBG #if defined(DBG) && !defined(_M_ARM)
VOID DbgPrintMask(ULONG Mask, char *format, ...); VOID DbgPrintMask(ULONG Mask, char *format, ...);
VOID DebugInit(VOID); VOID DebugInit(VOID);
@ -80,7 +80,7 @@ void MEMORY_WRITE_BREAKPOINT4(unsigned long addr);
#else #else
#define DebugInit() #define DebugInit(x)
#define DPRINTM(_x_, ...) #define DPRINTM(_x_, ...)
#define BugCheck(_x_) #define BugCheck(_x_)
#define DbgDumpBuffer(_x_, _y_, _z_) #define DbgDumpBuffer(_x_, _y_, _z_)

View file

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef _M_ARM
#include <freeldr.h> #include <freeldr.h>
#include <debug.h> #include <debug.h>
#ifdef __i386__ #ifdef __i386__
#define LINUX_READ_CHUNK_SIZE 0x20000 // Read 128k at a time #define LINUX_READ_CHUNK_SIZE 0x20000 // Read 128k at a time
@ -516,3 +516,4 @@ BOOLEAN LinuxReadInitrd(PFILE LinuxInitrdFile)
return TRUE; return TRUE;
} }
#endif /* __i386__ */ #endif /* __i386__ */
#endif