mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
[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:
parent
2e97a01a5d
commit
f0a8153aec
4 changed files with 11 additions and 7 deletions
|
@ -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 @@ VOID Rs232PortPutByte(UCHAR ByteToSend)
|
|||
WRITE_PORT_UCHAR (SER_THR(Rs232PortBase), ByteToSend);
|
||||
}
|
||||
|
||||
#endif /* DBG */
|
||||
|
||||
BOOLEAN Rs232PortInUse(ULONG Base)
|
||||
{
|
||||
#if DBG
|
||||
|
@ -285,3 +285,6 @@ BOOLEAN Rs232PortInUse(ULONG Base)
|
|||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* DBG */
|
||||
#endif
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
|
||||
#if DBG
|
||||
#if defined(DBG) && !defined(_M_ARM)
|
||||
|
||||
//#define DEBUG_ALL
|
||||
//#define DEBUG_INIFILE
|
||||
|
|
|
@ -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 @@ void MEMORY_WRITE_BREAKPOINT4(unsigned long addr);
|
|||
|
||||
#else
|
||||
|
||||
#define DebugInit()
|
||||
#define DebugInit(x)
|
||||
#define DPRINTM(_x_, ...)
|
||||
#define BugCheck(_x_)
|
||||
#define DbgDumpBuffer(_x_, _y_, _z_)
|
||||
|
|
|
@ -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 @@ BOOLEAN LinuxReadInitrd(PFILE LinuxInitrdFile)
|
|||
return TRUE;
|
||||
}
|
||||
#endif /* __i386__ */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue