Files | |
file | klog.h |
file | klog.c |
Defines | |
#define | KLOG_ORDER 0 |
Functions | |
void | klog_init (void) |
void | klog_printf (const char *fmt,...) |
SPINLOCK_INITIALIZE (klog_lock) | |
static void | klog_vprintf (const char *fmt, va_list args) |
Variables | |
static char * | klog |
static int | klogsize |
static int | klogpos |
|
Definition at line 42 of file klog.c. Referenced by klog_init(). |
|
Initialize kernel logging facility Allocate pages that are to be shared with uspace for console data. The shared area is a circular buffer. Userspace application may be notified on new data with indication of position and size of the data within the circular buffer. Definition at line 57 of file klog.c. References frame_alloc, FRAME_ATOMIC, klog, KLOG_ORDER, klogpos, klogsize, NULL, PAGE_SIZE, panic, PFN2ADDR(), and sysinfo_set_item_val(). Referenced by main_bsp_separated_stack(). Here is the call graph for this function: |
|
Printf a message to kernel-uspace log Definition at line 97 of file klog.c. References klog_vprintf(), va_end, and va_start. Referenced by ktaskclnp(), and syscall_handler(). Here is the call graph for this function: |
|
Definition at line 73 of file klog.c. References IPC_IRQ_KLOG, ipc_irq_send_msg(), klog, klogpos, klogsize, spinlock_lock, spinlock_unlock(), va_copy, va_end, and vsnprintf(). Referenced by klog_printf(). Here is the call graph for this function: |
|
|
|
Definition at line 44 of file klog.c. Referenced by klog_init(), and klog_vprintf(). |
|
Definition at line 46 of file klog.c. Referenced by klog_init(), and klog_vprintf(). |
|
Definition at line 45 of file klog.c. Referenced by klog_init(), and klog_vprintf(). |