OpenOCD
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define OPENOCD_TARGET_XTENSA_CHIP_H
#include <target/target.h>
#include "xtensa.h"
#include "xtensa_debug_module.h"
xtensa_chip_common
xtensa
target_to_xtensa_chip(struct target *)
xtensa_chip_init_arch_info(struct target *, void *, struct xtensa_debug_module_config *);
xtensa_chip_target_init(struct command_context *, struct target *);
xtensa_chip_arch_state(struct target *);
xtensa_chip_queue_tdi_idle(struct target *);
xtensa_chip_on_reset(struct target *);
xtensa_chip_on_halt(struct target *);
xtensa_chip_on_poll(struct target *);
Files
loading...
SourceVu
Development Tools
OpenOCD
src/target/xtensa/xtensa_chip.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Xtensa Chip-level Target Support for OpenOCD *
* Copyright (C) 2020-2022 Cadence Design Systems, Inc. *
***************************************************************************/
/* ... */
#ifndef
OPENOCD_TARGET_XTENSA_CHIP_H
#define
OPENOCD_TARGET_XTENSA_CHIP_H
#include
<
target
/
target.h>
#include
"
xtensa.h"
#include
"
xtensa_debug_module.h"
struct
xtensa_chip_common
{
struct
xtensa
xtensa
;
/* Chip-specific extensions can be added here */
...
}
;
static
inline
struct
xtensa_chip_common
*
target_to_xtensa_chip
(
struct
target
*
target
)
{
return
container_of
(
target
->
arch_info
,
struct
xtensa_chip_common
,
xtensa
)
;
}
{ ... }
int
xtensa_chip_init_arch_info
(
struct
target
*
target
,
void
*
arch_info
,
struct
xtensa_debug_module_config
*
dm_cfg
)
;
int
xtensa_chip_target_init
(
struct
command_context
*
cmd_ctx
,
struct
target
*
target
)
;
int
xtensa_chip_arch_state
(
struct
target
*
target
)
;
void
xtensa_chip_queue_tdi_idle
(
struct
target
*
target
)
;
void
xtensa_chip_on_reset
(
struct
target
*
target
)
;
bool
xtensa_chip_on_halt
(
struct
target
*
target
)
;
void
xtensa_chip_on_poll
(
struct
target
*
target
)
;
/* ... */
#endif
/* OPENOCD_TARGET_XTENSA_CHIP_H */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
Click anywhere in the source to view detailed information here...