From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaQHa-0005VS-JG for qemu-devel@nongnu.org; Tue, 13 Dec 2011 06:12:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaQHW-0003qu-Jq for qemu-devel@nongnu.org; Tue, 13 Dec 2011 06:12:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaQHW-0003qn-DJ for qemu-devel@nongnu.org; Tue, 13 Dec 2011 06:12:22 -0500 Message-ID: <4EE732E3.4020301@redhat.com> Date: Tue, 13 Dec 2011 12:11:31 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4ED58108.3090903@endace.com> <20111130074903.GD17781@redhat.com> <4ED71582.3000107@endace.com> <20111201101718.GA8822@redhat.com> <4EDC4690.1060604@endace.com> <20111205063151.GE22501@redhat.com> <4EDD98C0.6040808@endace.com> In-Reply-To: <4EDD98C0.6040808@endace.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [SeaBIOS] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Korolev Cc: sfd@endace.com, yamahata@valinux.co.jp, seabios@seabios.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" Hi, >> Two possible ideas: >> 1. Pass the value in from qemu > Do you mean to create the 64bit region dynamically? I've tried to obtain > RAM size somehow inside DSL code, but the ACPI spec doesn't tell how to > do that. There is a global variable IIRC. You could also check the e820 table passed in from qemu. >> 2. Get a range toward the upper end of the memory, around 1<<40 >> > Yes. This solution works great. And this is very simple as well. Just > wondering if it will be good as a complete solution? I would have tried this first too ;) Care to share the patches so we can review & merge them? thanks, Gerd