#include <jdb_console_buffer_i.h>
Inheritance diagram for Console_buffer:
Public Member Functions | |
Console_buffer () | |
~Console_buffer () | |
int | write (char const *str, size_t len) |
Write a string of len chacters to the output. | |
int | getchar (bool) |
read a charcater from the input. | |
Mword | get_attributes () const |
Console attributes. | |
Static Public Member Functions | |
static void | alloc (size_t size) |
Allocates a buffer of the given size. | |
static int | print_buffer (unsigned lines) |
Prints the buffer to the standard I/O. | |
static int | print_buffer (const char *str) |
Prints the buffer to the standard I/O. | |
static FIASCO_INIT void | init () |
Static Private Member Functions | |
static void | at_jdb_enter () |
static void | at_jdb_leave () |
static void | inc_ptr (char **c) |
static void | dec_out_ptr (char **c) |
static int | strncmp (char *start, const char *search, size_t len) |
Static Private Attributes | |
static bool | _enabled |
static size_t | out_buf_size |
static size_t | out_buf_len |
static char * | out_buf |
static char * | out_buf_w |
This buffer can be usefull for accessing older the debugging output without a serial console.
|
|
|
|
|
Allocates a buffer of the given size.
|
|
|
|
|
|
|
|
Console attributes.
Reimplemented from Console. |
|
read a charcater from the input.
Reimplemented from Console. |
|
|
|
|
|
Prints the buffer to the standard I/O.
|
|
Prints the buffer to the standard I/O.
|
|
|
|
Write a string of len chacters to the output.
Reimplemented from Console. |
|
|
|
|
|
|
|
|
|
|