]> Git Repo - qemu.git/blobdiff - arm-semi.c
target-ppc: use the new rotr/rotri instructions
[qemu.git] / arm-semi.c
index 423aaf7b5925bd3b744326327e752ab234d36118..cd77d1da0f0ad11e50cf47627b73489765f55cd3 100644 (file)
@@ -33,7 +33,9 @@
 
 #define ARM_ANGEL_HEAP_SIZE (128 * 1024 * 1024)
 #else
-#include "vl.h"
+#include "qemu-common.h"
+#include "sysemu.h"
+#include "gdbstub.h"
 #endif
 
 #define SYS_OPEN        0x01
@@ -360,6 +362,7 @@ uint32_t do_arm_semihosting(CPUState *env)
                 return (uint32_t)-1;
             ret = set_swi_errno(ts, system(s));
             unlock_user(s, ARG(0), 0);
+            return ret;
         }
     case SYS_ERRNO:
 #ifdef CONFIG_USER_ONLY
This page took 0.024259 seconds and 4 git commands to generate.