Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Miscellaneous architecture APIs

Functions

int arch_printk_char_out (int c)
 Early boot console output hook.
 
static void arch_kernel_init (void)
 Architecture-specific kernel initialization hook.
 
static void arch_nop (void)
 Do nothing and return.
 

Detailed Description

Function Documentation

◆ arch_kernel_init()

static void arch_kernel_init ( void  )
inlinestatic

#include </home/runner/_work/zephyr/zephyr/kernel/include/kernel_arch_interface.h>

Architecture-specific kernel initialization hook.

This function is invoked near the top of z_cstart, for additional architecture-specific setup before the rest of the kernel is brought up.

◆ arch_nop()

static void arch_nop ( void  )
inlinestatic

◆ arch_printk_char_out()

int arch_printk_char_out ( int  c)

#include </home/runner/_work/zephyr/zephyr/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_MODE_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.

Parameters
cCharacter to print
Returns
The character printed