Zephyr Project API
4.5.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
xtensa_ptr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Google LLC
3
* Copyright (c) 2026 Antmicro <www.antmicro.com>
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef ZEPHYR_INCLUDE_ARCH_XTENSA_XTENSA_PTR_H
9
#define ZEPHYR_INCLUDE_ARCH_XTENSA_XTENSA_PTR_H
10
11
#include <
stdbool.h
>
12
#include <
stdint.h
>
13
19
29
bool
xtensa_soc_stack_ptr_is_sane
(
uint32_t
sp);
30
40
bool
xtensa_soc_ptr_executable
(
const
void
*p);
41
45
46
#endif
/* ZEPHYR_INCLUDE_ARCH_XTENSA_XTENSA_PTR_H */
xtensa_soc_ptr_executable
bool xtensa_soc_ptr_executable(const void *p)
Checks whether the given pointer is executable.
xtensa_soc_stack_ptr_is_sane
bool xtensa_soc_stack_ptr_is_sane(uint32_t sp)
Checks whether the given sp value is a valid stack address.
stdbool.h
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
include
zephyr
arch
xtensa
xtensa_ptr.h
Generated on
for Zephyr Project API by
1.16.1