Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch_inlines.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 NVIDIA Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_ARCH_OPENRISC_ARCH_INLINES_H
13#define ZEPHYR_INCLUDE_ARCH_OPENRISC_ARCH_INLINES_H
14
16
17static ALWAYS_INLINE unsigned int arch_num_cpus(void)
18{
19 return CONFIG_MP_MAX_NUM_CPUS;
20}
21
22#endif /* ZEPHYR_INCLUDE_ARCH_OPENRISC_ARCH_INLINES_H */
#define ALWAYS_INLINE
Definition common.h:161
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
Definition arch_inlines.h:12