25 lines
814 B
C
25 lines
814 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#ifndef INCLUDED_RTOS_NUTTX_STACKINGS_H
|
|
#define INCLUDED_RTOS_NUTTX_STACKINGS_H
|
|
|
|
#include "rtos.h"
|
|
|
|
/* Used to index the list of retrieved symbols. See nuttx_symbol_list for the order. */
|
|
enum nuttx_symbol_vals {
|
|
NX_SYM_READYTORUN = 0,
|
|
NX_SYM_PIDHASH,
|
|
NX_SYM_NPIDHASH,
|
|
NX_SYM_TCB_INFO,
|
|
NX_SYM_REG_OFFSETS,
|
|
};
|
|
|
|
extern const struct rtos_register_stacking nuttx_stacking_cortex_m;
|
|
extern const struct rtos_register_stacking nuttx_stacking_cortex_m_fpu;
|
|
extern const struct rtos_register_stacking nuttx_riscv_stacking;
|
|
extern const struct rtos_register_stacking nuttx_esp32_stacking;
|
|
extern const struct rtos_register_stacking nuttx_esp32s2_stacking;
|
|
extern const struct rtos_register_stacking nuttx_esp32s3_stacking;
|
|
|
|
#endif /* INCLUDED_RTOS_NUTTX_STACKINGS_H */
|