summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-05 19:43:27 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-05 19:43:27 +0000
commit1e2bed4f7e08f2d1d3191cd03d66067e809659f7 (patch)
treea02db17f0997a575c3bebe9fa59c32129d20d7a2
parent831952376ebb4b18370048172c61159580f4b8dc (diff)
Darwin cleanup usage (Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2387 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--darwin-user/main.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 5a2bc299ef..78cf864c1e 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -646,17 +646,18 @@ void usage(void)
"Darwin CPU emulator (compiled for %s emulation)\n"
"\n"
"-h print this help\n"
- "-L path set the elf interpreter prefix (default=%s)\n"
+ "-L path set the %s library path (default='%s')\n"
"-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"
+ "-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",
TARGET_ARCH,
+ TARGET_ARCH,
interp_prefix,
stack_size,
DEBUG_LOGFILE);
@@ -753,11 +754,6 @@ int main(int argc, char **argv)
/* Zero out regs */
memset(regs, 0, sizeof(struct target_pt_regs));
-#if 0
- /* Scan interp_prefix dir for replacement files. */
- init_paths(interp_prefix);
-#endif
-
/* NOTE: we need to init the CPU at this stage to get
qemu_host_page_size */
env = cpu_init();
@@ -888,7 +884,7 @@ int main(int argc, char **argv)
set_idt(0x81, 3); /* Mach Syscalls */
set_idt(0x82, 3); /* thread Syscalls */
- set_idt(0x90, 3); /* Unix Syscall backdoor */
+ set_idt(0x90, 3); /* qemu-darwin-user's Unix syscalls backdoor */
cpu_x86_load_seg(env, R_CS, __USER_CS);