From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7VLN-0003Hc-Ai for qemu-devel@nongnu.org; Sun, 08 Jul 2007 07:54:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7VLL-0003Gz-Tl for qemu-devel@nongnu.org; Sun, 08 Jul 2007 07:54:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7VLL-0003Gt-LF for qemu-devel@nongnu.org; Sun, 08 Jul 2007 07:54:23 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I7VLK-0000uu-Sl for qemu-devel@nongnu.org; Sun, 08 Jul 2007 07:54:23 -0400 Received: by ug-out-1314.google.com with SMTP id m2so934409uge for ; Sun, 08 Jul 2007 04:54:21 -0700 (PDT) Message-ID: Date: Sun, 8 Jul 2007 14:54:21 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] qemu/linux-user syscall.c syscall_defs.h In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 7/8/07, Blue Swirl wrote: > On 7/8/07, Blue Swirl wrote: > > Modified files: > > linux-user : syscall.c syscall_defs.h > > > > Log message: > > Fix Sparc64 stat system call > > Now Sparc64 linux-user emulator can run a statically compiled 'sash' > shell. Some built-in commands do not work (ar, gzip, ls, tar), but > many others do (cd, cmp, cp, find, grep, gunzip, mkdir, more, mv, rm, > rmdir, setenv, sum, sync, where). I just noticed that statically compiled OpenBIOS for Unix executable also works! qemu-sparc64 ./openbios-unix-static done. dictionary loaded (160480 bytes). Initializing memory...done Jumping to dictionary...No disk found. No cdrom found Welcome to OpenBIOS v1.0RC1 built on Jul 4 2007 13:48 Type 'help' for detailed information [unix] Booting default not supported. 0 > cr ." hello world!" cr cr ." hello world!" cr hello world! ok 0 > show-devs show-devs 233e28 / 234000 /aliases 234128 /openprom (BootROM) 2343e0 /openprom/client-services 234510 /options 2345f0 /chosen 234790 /builtin 2348b8 /builtin/console 23d480 /packages 23d9b8 /packages/client-iface 23f068 /packages/disk-label 23f828 /packages/cmdline 2414e0 /packages/deblocker 241ae8 /packages/misc-files 242018 /packages/sun-parts 23fbb0 /pci (pci) 23fef0 /pci/isa (isa) 2406c0 /memory 2407e8 /cpus 240f88 /unix 241120 /unix/block (unix-block) 242270 /unix/block/disk ok 0 > This means that now the CPU emulation should be good enough for OpenBIOS in system emulator also. I suspect register window trap handlers or memory management prevent it from working.