Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Functions | |
int | arch_printk_char_out (int c) |
static void | arch_kernel_init (void) |
static void | arch_nop (void) |
#include <kernel/include/kernel_arch_interface.h>
Architecture-specific kernel initialization hook
This function is invoked near the top of _Cstart, for additional architecture-specific setup before the rest of the kernel is brought up.
TODO: Deprecate, most arches are using a prep_c() function to do the same thing in a simpler way
#include <kernel/include/kernel_arch_interface.h>
Do nothing and return. Yawn.
int arch_printk_char_out | ( | int | c | ) |
#include <kernel/include/kernel_arch_interface.h>
Early boot console output hook
Definition of this function is optional. If implemented, any invocation of printk() (or logging calls with CONFIG_LOG_MINIMAL which are backed by printk) will default to sending characters to this function. It is useful for early boot debugging before main serial or console drivers come up.
This can be overridden at runtime with __printk_hook_install().
The default __weak implementation of this does nothing.
c | Character to print |