kprintf variants for testing.

This commit is contained in:
Geoffrey Challen committed 2015-12-31 11:41:16 -05:00
1 parent a4ad38f616
commit a33db5e187
2 files changed
+69 -5

No files matched your search

+9
View File
@@ -197,4 +197,13 @@ void kprintf_bootstrap(void);
void random_yielder(uint32_t);
void random_spinner(uint32_t);
/*
* Testing variants of kprintf. tprintf is silent during automated testing.
* sprintf prefixes the kernel secret to kprintf messages during automated
* testing.
*/
int tkprintf(const char *format, ...) __PF(1,2);
int skprintf(const char *format, ...) __PF(1,2);
#endif /* _LIB_H_ */