aboutsummaryrefslogtreecommitdiff
path: root/system/arch_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/arch_init.c')
-rw-r--r--system/arch_init.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/system/arch_init.c b/system/arch_init.c
index 79716f9..e857368 100644
--- a/system/arch_init.c
+++ b/system/arch_init.c
@@ -22,29 +22,9 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
-#include "qemu/module.h"
-#include "sysemu/arch_init.h"
+#include "system/arch_init.h"
-#ifdef TARGET_SPARC
-int graphic_width = 1024;
-int graphic_height = 768;
-int graphic_depth = 8;
-#elif defined(TARGET_M68K)
-int graphic_width = 800;
-int graphic_height = 600;
-int graphic_depth = 8;
-#else
-int graphic_width = 800;
-int graphic_height = 600;
-int graphic_depth = 32;
-#endif
-
-const uint32_t arch_type = QEMU_ARCH;
-
-void qemu_init_arch_modules(void)
+bool qemu_arch_available(unsigned qemu_arch_mask)
{
-#ifdef CONFIG_MODULES
- module_init_info(qemu_modinfo);
- module_allow_arch(TARGET_NAME);
-#endif
+ return qemu_arch_mask & QEMU_ARCH;
}