diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-05-24 14:20:40 -0700 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-06-22 17:40:00 +0200 |
commit | 5bcda5f7349da01aded719b595f32ce2b9d396db (patch) | |
tree | 568262199362ea69d6f0998f60359c6c8e5f5b12 /target-sparc/translate.c | |
parent | e549d2aaeba1cfac207c9a9675cc203e6372a22e (diff) |
monitor: Split mon_get_cpu fn to remove ENV_GET_CPU
The monitor currently has one helper, mon_get_cpu() which will return
an env pointer. The target specific users of this API want an env, but
all the target agnostic users really just want the cpu pointer. These
users then need to use the target-specifically defined ENV_GET_CPU to
navigate back up to the CPU from the ENV. Split the API for the two
uses cases to remove all need for ENV_GET_CPU.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target-sparc/translate.c')
0 files changed, 0 insertions, 0 deletions