aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-04 16:33:19 -0700
committerChristian Cunningham <cc@localhost>2022-02-04 16:33:19 -0700
commit6e7f93d6a09865937dde1124a6c3f36eebcd9d82 (patch)
tree085d3b687b4c6175592a4d3cf9b0afdf75503837 /include/drivers
parentaaf7667a36a0268de87f1913fd9a87e1cbf7da92 (diff)
Move tests to own file
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drivers/uart.h b/include/drivers/uart.h
index 1491f20..6317068 100644
--- a/include/drivers/uart.h
+++ b/include/drivers/uart.h
@@ -4,6 +4,7 @@
#define PRINTS_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_string(X);uart_char('\n');
#define PRINTX_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_hex((unsigned long)X);uart_char('\n');
#define PRINTI_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_10((unsigned long)X);uart_char('\n');
+#define PRINT64(x) uart_hex(x>>32);uart_hexn(x);
extern void uart_char(unsigned char c);
extern void uart_string(char* message);