]> git.sur5r.net Git - openocd/blobdiff - src/target/target_type.h
arm920t line length cleanup
[openocd] / src / target / target_type.h
index 67041b31625a68e2a605d3e90ef09fedf2e99eed..70eb96253754a457879b13806ce99e1aade98c9b 100644 (file)
@@ -213,6 +213,13 @@ struct target_type
 
        int (*mmu)(struct target *target, int *enabled);
 
+       /* after reset is complete, the target can check if things are properly set up.
+        *
+        * This can be used to check if e.g. DCC memory writes have been enabled for
+        * arm7/9 targets, which they really should except in the most contrived
+        * circumstances.
+        */
+       int (*check_reset)(struct target *target);
 };
 
 #endif // TARGET_TYPE_H