summaryrefslogtreecommitdiff
path: root/src/target/target_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r--src/target/target_type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h
index 67041b31..70eb9625 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -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