miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
printk.c File Reference
#include <miniOS/drivers/console.h>
#include <miniOS/arch/x86_64/spinlock.h>
#include <string.h>
#include <stdarg.h>
Include dependency graph for printk.c:

Functions

 __attribute__ ((format(printf, 1, 2)))

Variables

static spinlock_t printk_lock = SPINLOCK_INIT

Function Documentation

◆ __attribute__()

__attribute__ ( (format(printf, 1, 2)) )
Here is the call graph for this function:

Variable Documentation

◆ printk_lock

spinlock_t printk_lock = SPINLOCK_INIT
static