mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 20:49:49 +00:00
614f731adb
Add a function resettable_change_parent() to do the required plumbing when changing the parent a of Resettable object. We need to make sure that the reset state of the object remains coherent with the reset state of the new parent. We make the 2 following hypothesis: + when an object is put in a parent under reset, the object goes in reset. + when an object is removed from a parent under reset, the object leaves reset. The added function avoids any glitch if both old and new parent are already in reset. Signed-off-by: Damien Hedde <damien.hedde@greensocs.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200123132823.1117486-6-damien.hedde@greensocs.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
30 lines
2.1 KiB
Plaintext
30 lines
2.1 KiB
Plaintext
# loader.c
|
|
loader_write_rom(const char *name, uint64_t gpa, uint64_t size, bool isrom) "%s: @0x%"PRIx64" size=0x%"PRIx64" ROM=%d"
|
|
|
|
# qdev.c
|
|
qdev_reset(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qdev_reset_all(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qdev_reset_tree(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qbus_reset(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qbus_reset_all(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qbus_reset_tree(void *obj, const char *objtype) "obj=%p(%s)"
|
|
qdev_update_parent_bus(void *obj, const char *objtype, void *oldp, const char *oldptype, void *newp, const char *newptype) "obj=%p(%s) old_parent=%p(%s) new_parent=%p(%s)"
|
|
|
|
# resettable.c
|
|
resettable_reset(void *obj, int cold) "obj=%p cold=%d"
|
|
resettable_reset_assert_begin(void *obj, int cold) "obj=%p cold=%d"
|
|
resettable_reset_assert_end(void *obj) "obj=%p"
|
|
resettable_reset_release_begin(void *obj, int cold) "obj=%p cold=%d"
|
|
resettable_reset_release_end(void *obj) "obj=%p"
|
|
resettable_change_parent(void *obj, void *o, unsigned oc, void *n, unsigned nc) "obj=%p from=%p(%d) to=%p(%d)"
|
|
resettable_phase_enter_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
|
|
resettable_phase_enter_exec(void *obj, const char *objtype, int type, int has_method) "obj=%p(%s) type=%d method=%d"
|
|
resettable_phase_enter_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d"
|
|
resettable_phase_hold_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
|
|
resettable_phase_hold_exec(void *obj, const char *objtype, int has_method) "obj=%p(%s) method=%d"
|
|
resettable_phase_hold_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d"
|
|
resettable_phase_exit_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
|
|
resettable_phase_exit_exec(void *obj, const char *objtype, int has_method) "obj=%p(%s) method=%d"
|
|
resettable_phase_exit_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d"
|
|
resettable_transitional_function(void *obj, const char *objtype) "obj=%p(%s)"
|