From 091463c1057f50b47156a138d7d1dbd09494a6d5 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 11 Oct 2021 13:58:11 +0300 Subject: Moved some functions to common/ --- include/apos/debug.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/apos') diff --git a/include/apos/debug.h b/include/apos/debug.h index 021612d..5830c45 100644 --- a/include/apos/debug.h +++ b/include/apos/debug.h @@ -9,8 +9,14 @@ enum serial_dev_t { NS16550A, }; +struct dbg_info_t { + void *dbg_ptr; + enum serial_dev_t dev; +}; + void __fmt(1, 2) dbg(const char *fmt, ...); void dbg_init(void *pt, enum serial_dev_t dev); +struct dbg_info_t dbg_from_fdt(void *fdt); #else -- cgit v1.3