mirror of https://gitee.com/openkylin/qemu.git
cpu: Update documentation and comment
State struct CPU had been renamed to CPUState, former CPUState to CPUArchState. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
175003702a
commit
f5df5baf11
|
@ -39,7 +39,7 @@ typedef struct CPUState CPUState;
|
|||
|
||||
/**
|
||||
* CPUClass:
|
||||
* @reset: Callback to reset the #CPU to its initial state.
|
||||
* @reset: Callback to reset the #CPUState to its initial state.
|
||||
*
|
||||
* Represents a CPU family or model.
|
||||
*/
|
||||
|
@ -61,7 +61,7 @@ struct CPUState {
|
|||
Object parent_obj;
|
||||
/*< public >*/
|
||||
|
||||
/* TODO Move common fields from CPUState here. */
|
||||
/* TODO Move common fields from CPUArchState here. */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue