X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farmv7a_cache_l2x.h;h=f98b55446570ec950c7d1d6b912ddad4d91a2a2e;hp=99fbe8aa65395ac2d75217eb963553197bd02846;hb=9f021c2bc129f8f7c659c64ad19531bd8073264a;hpb=3a292a1f34586b265b92e4662652683645e14201 diff --git a/src/target/armv7a_cache_l2x.h b/src/target/armv7a_cache_l2x.h index 99fbe8aa65..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,8 +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 */