From: Keir Fraser Subject: Re: access shared_info? Date: Wed, 7 Jun 2006 17:47:25 +0100 Message-ID: <63a099e0b962a2154960cebf413487c2@cl.cam.ac.uk> References: <4486D496.1070905@suse.de> <20b4659f13d0ed8c0ee5d23d93579b4c@cl.cam.ac.uk> <4486F676.6080301@suse.de> <7c8cd23f1fb1eafe50db8bf82cadad3a@cl.cam.ac.uk> <4486FE71.9090606@suse.de> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4486FE71.9090606@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org On 7 Jun 2006, at 17:27, Gerd Hoffmann wrote: >> Plausible, perhaps with cleanup (e.g., why change the prototype of >> legacy_init_iomem_resource > > Well, there is no point in carring around those two arguments. It's > not > needed, and the third one (crash kernel area) isn't passed though > anyway. So while touching it anyway I've dropped them as cleanup. Not > exactly xen-related, I can try to push that upstream too ;) > >> and remove non-Xen code, increasing the diff >> against native?). > > Where is non-xen code removed? Oh, I see it's moved to a new function. I guess that's okay, although couldn't you fake up an e820 map and call legacy_init_iomem_resource on the domU path, rather than having to pull code out into a new function? Does this patch change behaviour for dom0 at all? I think /proc/iomem already looks like native there? Also the patch will need to include x86/64 too. -- Keir