summaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorJia Liu <proljc@gmail.com>2012-07-20 15:50:39 +0800
committerBlue Swirl <blauwirbel@gmail.com>2012-07-27 21:12:55 +0000
commite67db06e9f6d7e514ee2a9b9b769ecd42977f6fb (patch)
treef88e6d688b8435d6038328b5e75cc078f4c77e05 /arch_init.c
parenta21143486b9c6d7a50b7b62877c02b3c686943cb (diff)
target-or32: Add target stubs and QOM cpu
Add OpenRISC target stubs, QOM cpu and basic machine. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c
index 5b0f5626a9..ebdad3a57d 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -79,6 +79,8 @@ int graphic_depth = 15;
#define QEMU_ARCH QEMU_ARCH_MICROBLAZE
#elif defined(TARGET_MIPS)
#define QEMU_ARCH QEMU_ARCH_MIPS
+#elif defined(TARGET_OPENRISC)
+#define QEMU_ARCH QEMU_ARCH_OPENRISC
#elif defined(TARGET_PPC)
#define QEMU_ARCH QEMU_ARCH_PPC
#elif defined(TARGET_S390X)