Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1
5
6#ifndef ZEPHYR_ARCH_COMMON_INIT_H_
7#define ZEPHYR_ARCH_COMMON_INIT_H_
8
9FUNC_NORETURN void z_cstart(void);
10
11/* Early boot functions */
12void arch_early_memset(void *dst, int c, size_t n);
13void arch_early_memcpy(void *dst, const void *src, size_t n);
14
15void arch_bss_zero(void);
16
17#ifdef CONFIG_LINKER_USE_BOOT_SECTION
18void arch_bss_zero_boot(void);
19#else
20static inline void arch_bss_zero_boot(void)
21{
22 /* Do nothing */
23}
24#endif /* CONFIG_LINKER_USE_BOOT_SECTION */
25
26#ifdef CONFIG_LINKER_USE_PINNED_SECTION
27void arch_bss_zero_pinned(void);
28#else
29static inline void arch_bss_zero_pinned(void)
30{
31 /* Do nothing */
32}
33#endif /* CONFIG_LINKER_USE_PINNED_SECTION */
34
35#endif /* ZEPHYR_ARCH_COMMON_INIT_H_ */
void arch_bss_zero(void)
static void arch_bss_zero_pinned(void)
Definition init.h:29
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:20