Received: from eggs.gnu.org ([2001:4830:134:3::10]:46790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjwVm-0005gV-SJ for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjwVb-0000J5-IG for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:46 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:40596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjwVb-0000Iu-DZ for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:35 -0400 Received: by mail-pb0-f54.google.com with SMTP id uo5so45276pbc.27 for ; Mon, 12 May 2014 13:07:34 -0700 (PDT) Date: Mon, 12 May 2014 16:07:31 -0400 From: Kevin O'Connor Message-ID: <20140512200731.GA15678@morn.localdomain> References: <20140509150621.GA9474@euler.fritz.box> <20140510150739.GA29484@morn.localdomain> <536F6241.2060806@bwalle.de> <20140511123720.GA20468@morn.localdomain> <705f2182cbc05c35147afbe7c06c62a6@bwalle.de> <20140512052918.GA2100@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] uvesafb doesn't work with seabios List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bernhard Walle Cc: qemu-devel@nongnu.org, kraxel@redhat.com On Mon, May 12, 2014 at 08:53:53PM +0200, Bernhard Walle wrote: > Am 2014-05-12 07:29, schrieb Kevin O'Connor: > > > >It does look like the x86emu issue. You can try applying the > >SeaVGABIOS patch below to confirm it. > > The output doesn't appear. But I'm sure that I copied the correct files > because modifications of other strings worked. Heh - old versions of x86emu apparently don't support "rep outsb" either. Can you test the patch below instead? -Kevin --- a/vgasrc/vgaentry.S +++ b/vgasrc/vgaentry.S @@ -47,7 +47,17 @@ _rom_header_signature: // Force a fault if found to be running on broken x86emu versions. DECLFUNC x86emu_fault +msg: .ascii "SeaVGABIOS: x86emu leal trap!\n" x86emu_fault: +#if CONFIG_DEBUG_IO + movw %cs:DebugOutputPort, %dx + movw $msg, %si +1: movb %cs:(%si), %al + outb %al, (%dx) + incw %si + cmpw $x86emu_fault, %si + jl 1b +#endif 1: hlt jmp 1b