CS350 COS
COS
Loading...
Searching...
No Matches
debugcons.c File Reference
#include <stdint.h>
#include <sys/cdefs.h>
#include <machine/amd64.h>
#include <machine/amd64op.h>
Include dependency graph for debugcons.c:

Go to the source code of this file.

Functions

void DebugConsole_Init ()
 
void DebugConsole_Putc (short c)
 
void DebugConsole_Puts (const char *str)
 

Function Documentation

◆ DebugConsole_Init()

void DebugConsole_Init ( void  )

Definition at line 13 of file debugcons.c.

14{
15}
Here is the caller graph for this function:

◆ DebugConsole_Putc()

void DebugConsole_Putc ( short  c)

Definition at line 17 of file debugcons.c.

18{
19 outb(0xe9, (uint8_t)c);
20}
static INLINE void outb(uint16_t port, uint8_t data)
Definition: amd64op.h:431
unsigned char uint8_t
Definition: types.h:10
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DebugConsole_Puts()

void DebugConsole_Puts ( const char *  str)

Definition at line 22 of file debugcons.c.

23{
24 const char *p = str;
25 while (*p != '\0')
27}
void DebugConsole_Putc(short c)
Definition: debugcons.c:17
Here is the call graph for this function:
Here is the caller graph for this function: