cpu: Move created field to CPUState

Change its type to bool.

Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Andreas Färber 2012-05-02 22:49:36 +02:00
parent 2ff09a40a8
commit 61a4621784
3 changed files with 9 additions and 7 deletions

View file

@ -54,6 +54,7 @@ typedef struct CPUClass {
/**
* CPUState:
* @created: Indicates whether the CPU thread has been successfully created.
*
* State of one CPU core or thread.
*/
@ -67,6 +68,7 @@ struct CPUState {
HANDLE hThread;
#endif
bool thread_kicked;
bool created;
/* TODO Move common fields from CPUArchState here. */
};