Xen Test Framework
Typedefs | Functions
console.h File Reference
#include <xtf/libc.h>
#include <xtf/compiler.h>
#include <xen/event_channel.h>
#include <xen/io/console.h>
+ Include dependency graph for console.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* cons_output_cb) (const char *buf, size_t len)
 

Functions

void register_console_callback (cons_output_cb cb)
 
void init_pv_console (xencons_interface_t *ring, evtchn_port_t port)
 
void vprintk (const char *fmt, va_list args)
 
void printk (const char *fmt,...)
 
size_t pv_console_read_some (char *buf, size_t len)
 

Typedef Documentation

◆ cons_output_cb

typedef void(* cons_output_cb) (const char *buf, size_t len)

Definition at line 11 of file console.h.

Function Documentation

◆ register_console_callback()

void register_console_callback ( cons_output_cb  cb)

Definition at line 24 of file console.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init_pv_console()

void init_pv_console ( xencons_interface_t ring,
evtchn_port_t  port 
)

Definition at line 109 of file console.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vprintk()

void vprintk ( const char *  fmt,
va_list  args 
)

Definition at line 119 of file console.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ printk()

void printk ( const char *  fmt,
  ... 
)

Definition at line 134 of file console.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pv_console_read_some()

size_t pv_console_read_some ( char *  buf,
size_t  len 
)

Definition at line 55 of file console.c.

+ Here is the call graph for this function: