2018-12-16 23:52:33 +00:00
|
|
|
#include <kern/print.h>
|
|
|
|
#include <kern/assert.h>
|
2018-01-25 19:11:22 +00:00
|
|
|
|
2018-10-01 17:01:00 +00:00
|
|
|
void
|
|
|
|
ke_printf(const char *str, ...)
|
2018-01-25 19:11:22 +00:00
|
|
|
{
|
2018-10-01 17:01:00 +00:00
|
|
|
va_list args;
|
|
|
|
va_start(args, str);
|
|
|
|
ke_vprintf(str, args);
|
|
|
|
va_end(args);
|
2018-01-25 19:11:22 +00:00
|
|
|
}
|
|
|
|
|
2018-10-01 17:01:00 +00:00
|
|
|
void
|
|
|
|
ke_vprintf(const char *str, va_list args)
|
2018-01-25 19:11:22 +00:00
|
|
|
{
|
2018-10-01 17:01:00 +00:00
|
|
|
//TODO: implement
|
2018-12-16 23:52:33 +00:00
|
|
|
KASSERT(0);
|
2018-10-01 17:01:00 +00:00
|
|
|
UNREFERENCED(str);
|
|
|
|
UNREFERENCED(args);
|
2018-03-24 00:58:24 +00:00
|
|
|
}
|