da82f9b2e8
Change-Id: Icc8b7210d60a93ac9cc4610d676dcba270756410
30 lines
373 B
C
30 lines
373 B
C
|
|
#include "kernel/kernel.h"
|
|
#include "direct_utils.h"
|
|
#include "serial.h"
|
|
#include "glo.h"
|
|
|
|
void direct_cls(void)
|
|
{
|
|
/* Do nothing */
|
|
}
|
|
|
|
void direct_print_char(char c)
|
|
{
|
|
if(c == '\n')
|
|
ser_putc('\r');
|
|
ser_putc(c);
|
|
}
|
|
|
|
void direct_print(const char *str)
|
|
{
|
|
while (*str) {
|
|
direct_print_char(*str);
|
|
str++;
|
|
}
|
|
}
|
|
|
|
int direct_read_char(unsigned char *ch)
|
|
{
|
|
return 0;
|
|
}
|