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
12typedef void (*smp_init_fn)(void *arg);
13
40void k_smp_cpu_start(int id, smp_init_fn fn, void *arg);
41
68void 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_ */
void k_smp_cpu_start(int id, smp_init_fn fn, void *arg)
Start a CPU.
void k_smp_cpu_resume(int id, smp_init_fn fn, void *arg, bool reinit_timer, bool invoke_sched)
Resume a previously suspended CPU.
void(* smp_init_fn)(void *arg)
Definition smp.h:12