aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDuane Sand <duanes@mips.com>2012-06-21 14:30:38 -0700
committerDuane Sand <duanes@mips.com>2012-06-21 14:30:38 -0700
commit342a01fc826881e6b12b7673c7d2c280295f4d9e (patch)
treee680d838836d3cad018925130633fe5a3da7b9bc /android
parent870f03672ca3513fe5d666f425942fda651f30ec (diff)
downloadexternal_qemu-342a01fc826881e6b12b7673c7d2c280295f4d9e.zip
external_qemu-342a01fc826881e6b12b7673c7d2c280295f4d9e.tar.gz
external_qemu-342a01fc826881e6b12b7673c7d2c280295f4d9e.tar.bz2
[MIPS] Fix startup segfault in emulator64-mips
Avoid truncation of 64-bit host addresses for 32-bit Mips physaddrs. Revert workaround I17fe688d19e3cd7f328721e6363bacd6e6689ca; allow emulator to again default to emulator64-mips. Change-Id: I0c83d8bf60fc52a758b84d8131b2bad53375aa61 Signed-off-by: Duane Sand <duanes@mips.com>
Diffstat (limited to 'android')
-rw-r--r--android/main-emulator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/android/main-emulator.c b/android/main-emulator.c
index ac4d2e9..0981a71 100644
--- a/android/main-emulator.c
+++ b/android/main-emulator.c
@@ -148,8 +148,6 @@ int main(int argc, char** argv)
avdArch = "arm";
D("Can't determine target AVD architecture: defaulting to %s\n", avdArch);
}
- if (!strcmp(avdArch, "mips"))
- force_32bit = 1; /* emulator64-mips segfaults currently, 4-19-2012 */
/* Find the architecture-specific program in the same directory */
emulatorPath = getTargetEmulatorPath(argv[0], avdArch, force_32bit);