4ab1225535dfc5fbcbde37a171b39224ea34e30b |
|
24-Mar-2014 |
David 'Digit' Turner <digit@google.com> |
exec.c: Use a QTAILQ to list CPUs. This introduces CPUState, a mere typedef to CPUOldState for now, and changes the way CPUs are listed in QEMU. The goal is to get closer to upstream, while also allowing really separating CPUState from CPUArmState in future patches. + Move "current_cpu" to a thread-local variable on Linux, just like upstream. Testing shows this doesn't affect performance. Change-Id: Id07bbef4ba1584e607bec647d5117ac755c48ce6
/external/qemu/include/qemu/tls.h
|