Skip to contentSkip to conversation

Refactor vl.c

PATCH New Blue Swirl 1 participant 1 message Mar 26, 2010

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

cover Refactor vl.c

This patch set is based on top of my patch stack.

The first patch does a bit of refactoring so that the second patch can be just code motion. I'm not too happy about "cpus.c" name.

The next step is to get rid of all uses of TARGET_* in vl.c so we can compile it just once for all targets. Probably we need a new target specific early init function to set up the values.

Blue Swirl (2):
Refactor numa mode setting
Refactor CPUState handling out of vl.c

 Makefile.target |    2 +-
 cpus.c          |  757 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 cpus.h          |   17 ++
 vl.c            |  728 +----------------------------------------------------
 4 files changed, 779 insertions(+), 725 deletions(-)
 create mode 100644 cpus.c
 create mode 100644 cpus.h