Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
pm_cpu_ops.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 Carlo Caione <ccaione@baylibre.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_
8#define ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_
9
15#include <zephyr/types.h>
16#include <stddef.h>
17#include <device.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
37int pm_cpu_off(void);
38
52int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point);
53
54
55#ifdef __cplusplus
56}
57#endif
58
63#endif /* ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_ */
int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point)
Power up a core.
int pm_cpu_off(void)
Power down the calling core.
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:75