1 /*
2  * Copyright (c) Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_XTENSA_STRUCTS_H_
8 #define ZEPHYR_INCLUDE_XTENSA_STRUCTS_H_
9 
10 /* Per CPU architecture specifics */
11 struct _cpu_arch {
12 #if defined(CONFIG_XTENSA_LAZY_HIFI_SHARING)
13 	atomic_ptr_val_t hifi_owner; /* Owner of HiFi */
14 #if CONFIG_MP_MAX_NUM_CPUS > 1
15 	atomic_ptr_val_t save_hifi;  /* Save HiFi on IPI if match hifi_owner */
16 #endif
17 #elif defined(__cplusplus)
18 	/* Ensure this struct does not have a size of 0 which is not allowed in C++. */
19 	uint8_t dummy;
20 #endif
21 };
22 
23 #endif /* ZEPHYR_INCLUDE_XTENSA_STRUCTS_H_ */
24