2 Copyright © 2009-2014, The AROS Development Team. All rights reserved.
8 #include "serialdebug.h"
10 inline void waitBusy()
12 volatile uint32_t *uart
= (uint32_t *)UART1_BASE_ADDR
;
13 while(!(uart
[0x98 / 4] & (1 << 3)));
16 inline void putByte(uint8_t chr
)
18 volatile uint32_t *uart
= (uint32_t *)UART1_BASE_ADDR
;
24 void putBytes(const char *str
)
33 static char tmpbuf
[512];
35 void kprintf(const char *format
, ...)
41 vsnprintf(tmpbuf
, 511, format
, vp
);