diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-08 14:25:03 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-08 14:25:03 +0000 |
commit | ec6338bac30f982c16c23106edcf1ce4a04da575 (patch) | |
tree | eb42654dd53839e7d6b74d4d7c071be0ff533ae5 /darwin-user | |
parent | 838104f60845adfa3ff5ad30e7f3a28c76f42bea (diff) | |
download | qemu-ec6338bac30f982c16c23106edcf1ce4a04da575.zip qemu-ec6338bac30f982c16c23106edcf1ce4a04da575.tar.gz qemu-ec6338bac30f982c16c23106edcf1ce4a04da575.tar.bz2 |
removed obsolete x86 code copy support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'darwin-user')
-rw-r--r-- | darwin-user/main.c | 8 | ||||
-rw-r--r-- | darwin-user/signal.c | 6 |
2 files changed, 1 insertions, 13 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c index 70328ec..f240f35 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -757,9 +757,6 @@ void usage(void) "-s size set the stack size in bytes (default=%ld)\n" "\n" "debug options:\n" -#ifdef USE_CODE_COPY - "-no-code-copy disable code copy acceleration\n" -#endif "-d options activate log (logfile='%s')\n" "-g wait for gdb on port 1234\n" "-p pagesize set the host page size to 'pagesize'\n", @@ -845,11 +842,6 @@ int main(int argc, char **argv) if (!strcmp(r, "g")) { use_gdbstub = 1; } else -#ifdef USE_CODE_COPY - if (!strcmp(r, "no-code-copy")) { - code_copy_enabled = 0; - } else -#endif { usage(); } diff --git a/darwin-user/signal.c b/darwin-user/signal.c index a0b9f89..8dbfa93 100644 --- a/darwin-user/signal.c +++ b/darwin-user/signal.c @@ -198,11 +198,7 @@ static void host_signal_handler(int host_signum, siginfo_t *info, /* the CPU emulator uses some host signals to detect exceptions, we we forward to it some signals */ - if (host_signum == SIGSEGV || host_signum == SIGBUS -#if defined(TARGET_I386) && defined(USE_CODE_COPY) - || host_signum == SIGFPE -#endif - ) { + if (host_signum == SIGSEGV || host_signum == SIGBUS) { if (cpu_signal_handler(host_signum, (void*)info, puc)) return; } |