Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
structs.h
Go to the documentation of this file.
1/*
2 * Copyright (c) BayLibre SAS
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_ARM64_STRUCTS_H_
8#define ZEPHYR_INCLUDE_ARM64_STRUCTS_H_
9
10/* Per CPU architecture specifics */
11struct _cpu_arch {
12#ifdef CONFIG_FPU_SHARING
13 atomic_ptr_val_t fpu_owner;
14#endif
15#ifdef CONFIG_ARM64_SAFE_EXCEPTION_STACK
16 uint64_t safe_exception_stack;
17 uint64_t current_stack_limit;
18 /* Saved the corrupted stack pointer when stack overflow, else 0 */
19 uint64_t corrupted_sp;
20#endif
21};
22
23#endif /* ZEPHYR_INCLUDE_ARM64_STRUCTS_H_ */
atomic_ptr_t atomic_ptr_val_t
Definition: atomic_types.h:18
__UINT64_TYPE__ uint64_t
Definition: stdint.h:91