My Kernel v0.1.0
early_console Struct Reference

Console used during kernel initialization. More...

#include <console.h>

Data Fields

void * private
 private data used by the callbacks
 
error_t(* init )(void *pdata)
 Called during initialization.
 
error_t(* write )(const char *buffer, size_t size, void *pdata)
 Called to write a buffer to the console.
 

Detailed Description

It is necessary to use a more primitive console structure during the kernel initialization process, as some necessary features for the regular console may not be properly setup yet (e.g. memory allocation and vfs traversing).

Keep in mind that the callbacks for this console should not use such features and should keep things to the bare minimum (writing, nothing more).


The documentation for this struct was generated from the following file: