Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
smp.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_KERNEL_SMP_H_
8
#define ZEPHYR_INCLUDE_KERNEL_SMP_H_
9
10
#include <
stdbool.h
>
11
12
typedef
void (*
smp_init_fn
)(
void
*arg);
13
40
void
k_smp_cpu_start
(
int
id
,
smp_init_fn
fn,
void
*arg);
41
68
void
k_smp_cpu_resume
(
int
id
,
smp_init_fn
fn,
void
*arg,
69
bool
reinit_timer,
bool
invoke_sched);
70
71
#endif
/* ZEPHYR_INCLUDE_KERNEL_SMP_H_ */
k_smp_cpu_start
void k_smp_cpu_start(int id, smp_init_fn fn, void *arg)
Start a CPU.
k_smp_cpu_resume
void k_smp_cpu_resume(int id, smp_init_fn fn, void *arg, bool reinit_timer, bool invoke_sched)
Resume a previously suspended CPU.
smp_init_fn
void(* smp_init_fn)(void *arg)
Definition
smp.h:12
stdbool.h
include
zephyr
kernel
smp.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8