|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [FYI] Soft feature freeze for 1.0 is 10/15 (three weeks away) |
Date: | Tue, 27 Sep 2011 11:57:54 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
On 09/27/2011 11:33 AM, Avi Kivity wrote:
On 09/26/2011 09:07 PM, Blue Swirl wrote:>> The default address is used for early serial printk in OpenBIOS, so it>> should still work. >> Ok, so drop the extra mapping, but init the dynamic mapping to 0x80013000.That should work.It's already there (macio.c): if (macio_state->escc_mem) { memory_region_add_subregion(bar, 0x13000, macio_state->escc_mem); } I'll drop the extra mapping.
Well, it's not that easy. As the other mapping is part of an ordinary BAR, you need to setup the device (at least PCI_COMMAND and PCI_BASE_ADDRESS_0) so it responds to memory requests, and also enable the bridge.
We could hack it by having a low-priority mapping at 0x80013000, but it seems wrong. Maybe the firmware should configure that BAR first? What happens on real hardware?
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |