Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1
5
6#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_INIT_H_
7#define ZEPHYR_INCLUDE_ARCH_COMMON_INIT_H_
8
9#include <zephyr/toolchain.h>
10#include <stddef.h>
11
12FUNC_NORETURN void z_cstart(void);
13
14/* Early boot functions */
15void arch_early_memset(void *dst, int c, size_t n);
16void arch_early_memcpy(void *dst, const void *src, size_t n);
17
18void arch_bss_zero(void);
19
20#ifdef CONFIG_LINKER_USE_BOOT_SECTION
21void arch_bss_zero_boot(void);
22#else
23static inline void arch_bss_zero_boot(void)
24{
25 /* Do nothing */
26}
27#endif /* CONFIG_LINKER_USE_BOOT_SECTION */
28
29#endif /* ZEPHYR_INCLUDE_ARCH_COMMON_INIT_H_ */
void arch_bss_zero(void)
void arch_early_memcpy(void *dst, const void *src, size_t n)
void arch_early_memset(void *dst, int c, size_t n)
static void arch_bss_zero_boot(void)
Definition init.h:23
Macros to abstract toolchain specific capabilities.