diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-29 19:23:52 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-29 19:23:52 +0000 |
commit | ad96090a01d848df67d70c5259ed8aa321fa8716 (patch) | |
tree | 0f1403fdf30208dfefdc3bf45189c98d530cf6a9 /sysemu.h | |
parent | 296af7c9524cffbedda258b95272ade25b0a726e (diff) |
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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, |