OSDN Git Service

hmp: Pass monitor to MonitorDef.get_value()
authorKevin Wolf <kwolf@redhat.com>
Fri, 13 Nov 2020 11:43:25 +0000 (12:43 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 13 Nov 2020 12:45:43 +0000 (12:45 +0000)
commit43cf067ff8b17b23e3dd0ba8e0214c55a140f700
tree67694da40a8166cfcaf5a1f749ba5ffd4c03a877
parent2fc5d01bb43049851a95c8a66df7ee33e3489b54
hmp: Pass monitor to MonitorDef.get_value()

All of these callbacks use mon_get_cpu_env(). Pass the Monitor
pointer to them it in preparation for adding a monitor argument to
mon_get_cpu_env().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201113114326.97663-3-kwolf@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
include/monitor/hmp-target.h
monitor/misc.c
target/i386/monitor.c
target/ppc/monitor.c
target/sparc/monitor.c