OpenOCD
nds32_v3m.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2013 Andes Technology *
5  * Hsiangkai Wang <hkwang@andestech.com> *
6  ***************************************************************************/
7 
8 #ifndef OPENOCD_TARGET_NDS32_V3M_H
9 #define OPENOCD_TARGET_NDS32_V3M_H
10 
11 #include "nds32.h"
12 
14  struct nds32 nds32;
15 
17  int32_t n_hbr;
18 
20  int32_t n_hwp;
21 
23  int32_t used_n_wp;
24 
28  int32_t next_hbr_index;
29 
32  int32_t next_hwp_index;
33 };
34 
35 static inline struct nds32_v3m_common *target_to_nds32_v3m(struct target *target)
36 {
38 }
39 
40 #endif /* OPENOCD_TARGET_NDS32_V3M_H */
Holds the interface to Andes cores.
static struct nds32_v3m_common * target_to_nds32_v3m(struct target *target)
Definition: nds32_v3m.h:35
int32_t next_hwp_index
next hardware watchpoint index
Definition: nds32_v3m.h:32
int32_t used_n_wp
number of used hardware watchpoints
Definition: nds32_v3m.h:23
int32_t next_hbr_index
next hardware breakpoint index
Definition: nds32_v3m.h:28
int32_t n_hwp
number of hardware watchpoints
Definition: nds32_v3m.h:20
int32_t n_hbr
number of hardware breakpoints
Definition: nds32_v3m.h:17
Represents a generic Andes core.
Definition: nds32.h:226
Definition: target.h:120
void * arch_info
Definition: target.h:169
#define container_of(ptr, type, member)
Cast a member of a structure out to the containing structure.
Definition: types.h:68