#ifndef KERNEL_H_ #define KERNEL_H_ #include #include #include void terminal_putchar(int ch); int printk(const char *fmt, ...); void klog(int level, const char *fmt, ...); void panic(const char *fmt, ...); int printkv(const char *fmt, va_list ap); void *memmove(void *s1, const void *s2, size_t n); /* in bootz.s */ void halt(); /* this will return after a ret, waitforinterrupt() might be better */ void allstop(); #endif