diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:58 +0000 |
commit | 02998ad7c3b71add9391b04263c95dbe60c13112 (patch) | |
tree | 8f61945b4fa78a0270f40a93d1688834e7498ba2 /risu_reginfo_m68k.h | |
parent | 2822f8e8ccfcfa2c618fb2c30e512cdde5e66f47 (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_m68k.h')
-rw-r--r-- | risu_reginfo_m68k.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/risu_reginfo_m68k.h b/risu_reginfo_m68k.h index 021939d..06ea61d 100644 --- a/risu_reginfo_m68k.h +++ b/risu_reginfo_m68k.h @@ -17,16 +17,4 @@ struct reginfo fpregset_t fpregs; }; -/* initialize structure from a ucontext */ -void reginfo_init(struct reginfo *ri, ucontext_t *uc); - -/* return 1 if structs are equal, 0 otherwise. */ -int reginfo_is_eq(struct reginfo *r1, struct reginfo *r2); - -/* print reginfo state to a stream, returns 1 on success, 0 on failure */ -int reginfo_dump(struct reginfo *ri, FILE *f); - -/* reginfo_dump_mismatch: print mismatch details to a stream, ret nonzero=ok */ -int reginfo_dump_mismatch(struct reginfo *m, struct reginfo *a, FILE *f); - #endif /* RISU_REGINFO_M68K_H */ |