Revision 182735ef include/qom/cpu.h
b/include/qom/cpu.h | ||
---|---|---|
114 | 114 |
* CPU and return to its top level loop. |
115 | 115 |
* @env_ptr: Pointer to subclass-specific CPUArchState field. |
116 | 116 |
* @current_tb: Currently executing TB. |
117 |
* @next_cpu: Next CPU sharing TB cache. |
|
117 | 118 |
* @kvm_fd: vCPU file descriptor for KVM. |
118 | 119 |
* |
119 | 120 |
* State of one CPU core or thread. |
... | ... | |
146 | 147 |
|
147 | 148 |
void *env_ptr; /* CPUArchState */ |
148 | 149 |
struct TranslationBlock *current_tb; |
150 |
CPUState *next_cpu; |
|
149 | 151 |
|
150 | 152 |
int kvm_fd; |
151 | 153 |
bool kvm_vcpu_dirty; |
... | ... | |
157 | 159 |
uint32_t halted; /* used by alpha, cris, ppc TCG */ |
158 | 160 |
}; |
159 | 161 |
|
162 |
extern CPUState *first_cpu; |
|
163 |
|
|
160 | 164 |
DECLARE_TLS(CPUState *, current_cpu); |
161 | 165 |
#define current_cpu tls_var(current_cpu) |
162 | 166 |
|
Also available in: Unified diff