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
15
#include <
zephyr/kernel_structs.h
>
16
17
static
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 */
ALWAYS_INLINE
#define ALWAYS_INLINE
Definition
common.h:161
kernel_structs.h
arch_num_cpus
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
Definition
arch_inlines.h:12
zephyr
arch
openrisc
arch_inlines.h
Generated on
for Zephyr API Documentation by
1.16.1