mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
target-unicore32: Introduce QOM realizefn for UniCore32CPU
Introduce a realizefn and set realized = true in uc32_cpu_init(). Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [AF: Invoke the parent's realizefn] Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
b6e91ebfe0
commit
088383e322
3 changed files with 19 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
/**
|
||||
* UniCore32CPUClass:
|
||||
* @parent_realize: The parent class' realize handler.
|
||||
*
|
||||
* A UniCore32 CPU model.
|
||||
*/
|
||||
|
@ -32,6 +33,8 @@ typedef struct UniCore32CPUClass {
|
|||
/*< private >*/
|
||||
CPUClass parent_class;
|
||||
/*< public >*/
|
||||
|
||||
DeviceRealize parent_realize;
|
||||
} UniCore32CPUClass;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue