mcklogd support
This commit is contained in:
@ -13,12 +13,16 @@
|
||||
#ifndef IHK_DEBUG_H
|
||||
#define IHK_DEBUG_H
|
||||
|
||||
#include <arch-lock.h>
|
||||
#include <ihk/memconst.h>
|
||||
|
||||
struct ihk_kmsg_buf {
|
||||
int tail;
|
||||
int len;
|
||||
char str[IHK_KMSG_SIZE - sizeof(int) * 2];
|
||||
int head;
|
||||
int mode;
|
||||
ihk_spinlock_t lock;
|
||||
char str[IHK_KMSG_SIZE - sizeof(int) * 4 - sizeof(ihk_spinlock_t)];
|
||||
};
|
||||
|
||||
extern int kprintf(const char *format, ...);
|
||||
|
||||
Reference in New Issue
Block a user