X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7a_cache_l2x.h;h=f98b55446570ec950c7d1d6b912ddad4d91a2a2e;hb=380502d82074b799f10d9671c4fe0fe24eb93023;hp=1c135254b798d814abd6fcf1818c88f67f3bead8;hpb=cd440bd32a120a9b4c2d703d3d16dd52f16edab2;p=openocd.git diff --git a/src/target/armv7a_cache_l2x.h b/src/target/armv7a_cache_l2x.h index 1c135254b7..f98b554465 100644 --- a/src/target/armv7a_cache_l2x.h +++ b/src/target/armv7a_cache_l2x.h @@ -11,10 +11,13 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef ARM7A_CACHE_L2X_H -#define ARM7A_CACHE_L2X_H +#ifndef OPENOCD_TARGET_ARM7A_CACHE_L2X_H +#define OPENOCD_TARGET_ARM7A_CACHE_L2X_H #define L2X0_CACHE_LINE_SIZE 32 @@ -148,7 +151,8 @@ struct l2c_init_data { extern const struct command_registration arm7a_l2x_cache_command_handler[]; -int armv7a_l2x_cache_flush_virt(struct target *target, uint32_t virt, +int armv7a_l2x_cache_flush_virt(struct target *target, target_addr_t virt, uint32_t size); +int arm7a_l2x_flush_all_data(struct target *target); -#endif +#endif /* OPENOCD_TARGET_ARM7A_CACHE_L2X_H */