summaryrefslogtreecommitdiffstats
path: root/sysemu.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:52 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:52 +0000
commitad96090a01d848df67d70c5259ed8aa321fa8716 (patch)
tree0f1403fdf30208dfefdc3bf45189c98d530cf6a9 /sysemu.h
parent296af7c9524cffbedda258b95272ade25b0a726e (diff)
downloadhqemu-ad96090a01d848df67d70c5259ed8aa321fa8716.zip
hqemu-ad96090a01d848df67d70c5259ed8aa321fa8716.tar.gz
Refactor target specific handling, compile vl.c only once
Move target specific functions and RAM handling to arch_init.c. Add a flag to QEMUOptions structure to indicate for which architectures the option is allowed, check the flag in run time and remove conditional code in option handling. Now that no target dependencies remain, compile vl.c only once for all targets. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysemu.h b/sysemu.h
index 5464d35..d0effa0 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -142,13 +142,9 @@ extern uint64_t node_cpumask[MAX_NODES];
extern const char *option_rom[MAX_OPTION_ROMS];
extern int nb_option_roms;
-#ifdef NEED_CPU_H
-#if defined(TARGET_SPARC) || defined(TARGET_PPC)
#define MAX_PROM_ENVS 128
extern const char *prom_envs[MAX_PROM_ENVS];
extern unsigned int nb_prom_envs;
-#endif
-#endif
typedef enum {
IF_NONE,
OpenPOWER on IntegriCloud