RTEMS
|
Interface to Kernel Print Methods. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | BSP_output_char_function_type) (char c) |
typedef int(* | BSP_polling_getchar_function_type) (void) |
Functions | |
int | getchark (void) |
Get Character (kernel I/O) More... | |
int | vprintk (const char *fmt, va_list ap) |
Variable Argument printk() More... | |
int | rtems_printk_printer (void *ignored, const char *format, va_list ap) |
int | printk (const char *fmt,...) RTEMS_PRINTFLIKE(1 |
Kernel Print. More... | |
int int | putk (const char *s) |
Kernel Put String. More... | |
void | rtems_putc (char c) |
Kernel Put Character. More... | |
void | rtems_put_char (int c, void *arg) |
Puts the character via rtems_putc(). More... | |
Variables | |
BSP_output_char_function_type | BSP_output_char |
BSP_polling_getchar_function_type | BSP_poll_char |
Interface to Kernel Print Methods.
This include file defines the interface to kernel print methods.
Definition in file bspIo.h.
typedef void(* BSP_output_char_function_type) (char c) |
typedef int(* BSP_polling_getchar_function_type) (void) |
int getchark | ( | void | ) |
Get Character (kernel I/O)
This method polls for a key in the simplest possible fashion from whatever the debug console device is.
int printk | ( | const char * | fmt, |
... | |||
) |
Kernel Print.
This method allows the user to perform a debug printk(). It performs a character translation from "\n" to "\r\n".
[in] | fmt | is a printf()-style format string |
int int putk | ( | const char * | s | ) |
Kernel Put String.
This method allows the user to perform a debug puts().
[in] | s | is the string to print |
void rtems_put_char | ( | int | c, |
void * | arg | ||
) |
Puts the character via rtems_putc().
This is a compatibility function to support an internal API.
c | The character to put. |
arg | Ignored. |
Definition at line 34 of file rtems_put_char.c.
void rtems_putc | ( | char | c | ) |
Kernel Put Character.
This method allows the user to perform a debug putc(). It performs a character translation from "\n" to "\r\n".
[in] | c | is the character to print |
Definition at line 28 of file rtems_putc.c.
int vprintk | ( | const char * | fmt, |
va_list | ap | ||
) |
BSP_output_char_function_type BSP_output_char |
This variable points to the BSP provided method to output a character for the purposes of debug output.
It must output only the specific character. It must not perform character translations, e.g. "\n" to "\r\n".
Definition at line 99 of file printk_support.c.
BSP_polling_getchar_function_type BSP_poll_char |
This variable points to the BSP provided method to input a character for the purposes of debug input.
Definition at line 113 of file printk_support.c.