ReactOS 0.4.16-dev-122-g325d74c
debug.c File Reference
#include <freeldr.h>
#include <debug.h>
Include dependency graph for debug.c:

Go to the source code of this file.

Macros

#define QEMUUART   0x09000000
 

Functions

BOOLEAN Rs232PortInitialize (IN ULONG ComPort, IN ULONG BaudRate)
 
VOID Rs232PortPutByte (UCHAR ByteToSend)
 
VOID FrLdrBugCheckWithMessage (ULONG BugCode, PCHAR File, ULONG Line, PSTR Format,...)
 

Variables

volatile unsigned intUART0DR = (unsigned int *) QEMUUART
 

Macro Definition Documentation

◆ QEMUUART

#define QEMUUART   0x09000000

Definition at line 11 of file debug.c.

Function Documentation

◆ FrLdrBugCheckWithMessage()

VOID FrLdrBugCheckWithMessage ( ULONG  BugCode,
PCHAR  File,
ULONG  Line,
PSTR  Format,
  ... 
)

◆ Rs232PortInitialize()

BOOLEAN Rs232PortInitialize ( IN ULONG  ComPort,
IN ULONG  BaudRate 
)

Definition at line 15 of file debug.c.

17{
18 return TRUE;
19}
#define TRUE
Definition: types.h:120

◆ Rs232PortPutByte()

VOID Rs232PortPutByte ( UCHAR  ByteToSend)

Definition at line 22 of file debug.c.

23{
24 *UART0DR = ByteToSend;
25}
volatile unsigned int * UART0DR
Definition: debug.c:12

Variable Documentation

◆ UART0DR

Definition at line 12 of file debug.c.

Referenced by Rs232PortPutByte().