OpenOCD
avr32_ap7k.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2010 by Oleksandr Tymoshenko <gonzo@bluezbox.com> *
5  ***************************************************************************/
6 
7 #ifndef OPENOCD_TARGET_AVR32_AP7K_H
8 #define OPENOCD_TARGET_AVR32_AP7K_H
9 
10 struct target;
11 
12 #define AP7K_COMMON_MAGIC 0x4150374bU
13 
15  unsigned int common_magic;
16 
17  struct avr32_jtag jtag;
20 };
21 
22 static inline struct avr32_ap7k_common *
24 {
25  return (struct avr32_ap7k_common *)target->arch_info;
26 }
27 
29  uint32_t num;
30  struct target *target;
32 };
33 
34 #endif /* OPENOCD_TARGET_AVR32_AP7K_H */
static struct avr32_ap7k_common * target_to_ap7k(struct target *target)
Definition: avr32_ap7k.h:23
#define AVR32NUMCOREREGS
Definition: avr32_jtag.h:10
struct reg_cache * core_cache
Definition: avr32_ap7k.h:18
uint32_t core_regs[AVR32NUMCOREREGS]
Definition: avr32_ap7k.h:19
unsigned int common_magic
Definition: avr32_ap7k.h:15
struct avr32_jtag jtag
Definition: avr32_ap7k.h:17
struct avr32_ap7k_common * avr32_common
Definition: avr32_ap7k.h:31
struct target * target
Definition: avr32_ap7k.h:30
uint32_t num
Definition: avr32_ap7k.h:29
Definition: target.h:116
void * arch_info
Definition: target.h:164