mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
cpu: Move stop field to CPUState
Change its type to bool. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
61a4621784
commit
4fdeee7cd4
3 changed files with 20 additions and 10 deletions
|
@ -55,6 +55,7 @@ typedef struct CPUClass {
|
|||
/**
|
||||
* CPUState:
|
||||
* @created: Indicates whether the CPU thread has been successfully created.
|
||||
* @stop: Indicates a pending stop request.
|
||||
*
|
||||
* State of one CPU core or thread.
|
||||
*/
|
||||
|
@ -69,6 +70,7 @@ struct CPUState {
|
|||
#endif
|
||||
bool thread_kicked;
|
||||
bool created;
|
||||
bool stop;
|
||||
|
||||
/* TODO Move common fields from CPUArchState here. */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue