aboutsummaryrefslogtreecommitdiff
path: root/risu_reginfo_arm.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-02-24 17:02:25 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-02-24 17:02:58 +0000
commit02998ad7c3b71add9391b04263c95dbe60c13112 (patch)
tree8f61945b4fa78a0270f40a93d1688834e7498ba2 /risu_reginfo_arm.h
parent2822f8e8ccfcfa2c618fb2c30e512cdde5e66f47 (diff)
Make reginfo_{init,is_eq,dump,dump_mismatch} official per-CPU API
All CPUs now implement reginfo_{init,is_eq,dump,dump_mismatch} with the same API and semantics. Make this official by moving the prototypes into risu.h. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'risu_reginfo_arm.h')
-rw-r--r--risu_reginfo_arm.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/risu_reginfo_arm.h b/risu_reginfo_arm.h
index 80c28c6..96e5791 100644
--- a/risu_reginfo_arm.h
+++ b/risu_reginfo_arm.h
@@ -23,16 +23,4 @@ struct reginfo
uint32_t fpscr;
};
-/* initialize a reginfo structure with data from uc */
-void reginfo_init(struct reginfo *ri, ucontext_t *uc);
-
-/* returns 1 if structs are equal, zero otherwise */
-int reginfo_is_eq(struct reginfo *r1, struct reginfo *r2);
-
-/* print struct values to a stream, return 0 on stream err, 1 on success */
-int reginfo_dump(struct reginfo *ri, FILE *f);
-
-/* print a detailed mismatch report, return 0 on stream err, 1 on success */
-int reginfo_dump_mismatch(struct reginfo *m, struct reginfo *a, FILE *f);
-
#endif /* RISU_REGINFO_ARM_H */