coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
printk.c File Reference
#include <bl_uapp/bl_syscall_public.h>
#include <console/console.h>
#include <console/cbmem_console.h>
#include <console/streams.h>
#include <console/uart.h>
#include <stdarg.h>
Include dependency graph for printk.c:

Go to the source code of this file.

Functions

void console_hw_init (void)
 
int printk (int msg_level, const char *fmt,...)
 
int vprintk (int msg_level, const char *fmt, va_list args)
 

Function Documentation

◆ console_hw_init()

void console_hw_init ( void  )

Definition at line 10 of file printk.c.

References __cbmemc_init(), and __uart_init().

Here is the call graph for this function:

◆ printk()

int printk ( int  msg_level,
const char *  fmt,
  ... 
)

Definition at line 16 of file printk.c.

References args, va_end, va_start, and vprintk().

Here is the call graph for this function:

◆ vprintk()

int vprintk ( int  msg_level,
const char *  fmt,
va_list  args 
)

Definition at line 28 of file printk.c.

References __cbmemc_tx_byte(), __uart_tx_byte(), args, buf, console_log_level(), svc_debug_print(), and vsnprintf().

Here is the call graph for this function: