My Kernel v0.1.0
console.h File Reference
#include <kernel/device.h>
Include dependency graph for console.h:

Go to the source code of this file.

Data Structures

struct  console
 Representation of the kernel's console. More...
 
struct  early_console
 Console used during kernel initialization. More...
 

Functions

error_t console_early_setup (struct early_console *, void *pdata)
 Set the console to use during kernel initialization.
 
error_t console_open (struct device *device)
 Set a device as the regular console's output.
 
ssize_t console_write (const char *buf, size_t size)
 Write a buffer to the console.