Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch_inlines.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
12
#ifndef ZEPHYR_INCLUDE_ARCH_HEXAGON_ARCH_INLINES_H_
13
#define ZEPHYR_INCLUDE_ARCH_HEXAGON_ARCH_INLINES_H_
14
15
#include <
zephyr/kernel_structs.h
>
16
22
static
ALWAYS_INLINE
unsigned
int
arch_num_cpus
(
void
)
23
{
24
return
CONFIG_MP_MAX_NUM_CPUS;
25
}
26
27
#endif
/* ZEPHYR_INCLUDE_ARCH_HEXAGON_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:186
kernel_structs.h
include
zephyr
arch
hexagon
arch_inlines.h
Generated on
for Zephyr Project API by
1.16.1