X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm966e.h;h=b98c022489e7dc653cfd160149316bc2b3cf819f;hb=a8bd749d4edfeee9832a75daa1ce3a519285d5b2;hp=dee06765229d965f2ecda87f20fabe993064f56c;hpb=fbf5bec7f3ea9f4a9584099a12e71681cb55ce35;p=fw%2Fopenocd diff --git a/src/target/arm966e.h b/src/target/arm966e.h index dee067652..b98c02248 100644 --- a/src/target/arm966e.h +++ b/src/target/arm966e.h @@ -2,6 +2,9 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -33,7 +36,9 @@ typedef struct arm966e_common_s int common_magic; arm9tdmi_common_t arm9tdmi_common; u32 cp15_control_reg; - int monitor_mode_set; } arm966e_common_t; +extern int arm966e_read_cp15(target_t *target, int reg_addr, u32 *value); +extern int arm966e_write_cp15(target_t *target, int reg_addr, u32 value); + #endif /* ARM966E_H */