- fix win32 build issues from previous jim patch
[openocd.git] / src / target / arm966e.h
blob7169820bae2d93e08ff266e459e317c096127672
1 /***************************************************************************
2 * Copyright (C) 2005 by Dominic Rath *
3 * Dominic.Rath@gmx.de *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20 #ifndef ARM966E_H
21 #define ARM966E_H
23 #include "target.h"
24 #include "register.h"
25 #include "embeddedice.h"
26 #include "arm_jtag.h"
27 #include "arm9tdmi.h"
29 #define ARM966E_COMMON_MAGIC 0x20f920f9
31 typedef struct arm966e_common_s
33 int common_magic;
34 arm9tdmi_common_t arm9tdmi_common;
35 u32 cp15_control_reg;
36 } arm966e_common_t;
38 extern int arm966e_read_cp15(target_t *target, int reg_addr, u32 *value);
39 extern int arm966e_write_cp15(target_t *target, int reg_addr, u32 value);
41 #endif /* ARM966E_H */