ReactOS 0.4.16-dev-2491-g3dc6630
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_ PUCHAR PortAddress, _In_ ULONG BaudRate)
 
VOID Rs232PortPutByte (UCHAR ByteToSend)
 
DECLSPEC_NORETURN VOID FrLdrBugCheckWithMessage (ULONG BugCode, PCHAR File, ULONG Line, PCSTR 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()

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

◆ Rs232PortInitialize()

BOOLEAN Rs232PortInitialize ( _In_ PUCHAR  PortAddress,
_In_ ULONG  BaudRate 
)

Definition at line 15 of file debug.c.

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

◆ Rs232PortPutByte()

VOID Rs232PortPutByte ( UCHAR  ByteToSend)

Definition at line 23 of file debug.c.

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

Variable Documentation

◆ UART0DR

Definition at line 12 of file debug.c.

Referenced by Rs232PortPutByte().