aboutsummaryrefslogtreecommitdiff
path: root/src/target/espressif/esp_xtensa_algorithm.h
blob: 36fa1a331b5fdae2e185120f9e22467adad0a85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-or-later */

/***************************************************************************
 *   Module to run arbitrary code on Xtensa using OpenOCD                  *
 *   Copyright (C) 2019 Espressif Systems Ltd.                             *
 ***************************************************************************/

#ifndef OPENOCD_TARGET_ESP_XTENSA_ALGO_H
#define OPENOCD_TARGET_ESP_XTENSA_ALGO_H

#include <target/xtensa/xtensa.h>
#include <target/espressif/esp_algorithm.h>

/** Index of the first user-defined algo arg. @see algorithm_stub */
#define ESP_XTENSA_STUB_ARGS_FUNC_START             6

extern const struct esp_algorithm_hw xtensa_algo_hw;

#endif	/* OPENOCD_TARGET_XTENSA_ALGO_H */