Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch_inlines.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H
8
#define ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H
9
10
#include <
zephyr/kernel_structs.h
>
11
12
static
ALWAYS_INLINE
unsigned
int
arch_num_cpus
(
void
)
13
{
14
return
CONFIG_MP_MAX_NUM_CPUS;
15
}
16
17
#endif
/* ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H */
arch_num_cpus
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
Definition
arch_inlines.h:39
ALWAYS_INLINE
#define ALWAYS_INLINE
Definition
common.h:129
kernel_structs.h
zephyr
arch
nios2
arch_inlines.h
Generated on Sat Nov 16 2024 04:55:03 for Zephyr API Documentation by
1.12.0