OpenOCD
nds32_v2.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_V2_H
9 #define OPENOCD_TARGET_NDS32_V2_H
10 
11 #include "nds32.h"
12 
14  struct nds32 nds32;
15 
16  uint32_t backup_ir0;
17 
19  int32_t n_hbr;
20 
23  int32_t next_hbr_index;
24 };
25 
26 static inline struct nds32_v2_common *target_to_nds32_v2(struct target *target)
27 {
29 }
30 
31 #endif /* OPENOCD_TARGET_NDS32_V2_H */
Holds the interface to Andes cores.
static struct nds32_v2_common * target_to_nds32_v2(struct target *target)
Definition: nds32_v2.h:26
int32_t n_hbr
number of hardware breakpoints
Definition: nds32_v2.h:19
int32_t next_hbr_index
next hardware breakpoint index
Definition: nds32_v2.h:23
uint32_t backup_ir0
Definition: nds32_v2.h:16
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