From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: access shared_info? Date: Fri, 09 Jun 2006 15:44:25 +0200 Message-ID: <44897B39.6070100@suse.de> References: <4486D496.1070905@suse.de> <20b4659f13d0ed8c0ee5d23d93579b4c@cl.cam.ac.uk> <4486F676.6080301@suse.de> <7c8cd23f1fb1eafe50db8bf82cadad3a@cl.cam.ac.uk> <4486FE71.9090606@suse.de> <63a099e0b962a2154960cebf413487c2@cl.cam.ac.uk> <44870C65.2030603@suse.de> <20060607215500.GI2724@moss.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060607215500.GI2724@moss.sous-sol.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Wright Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org > > Or just do this during normal setup, then it is the base e820 map. I > believe it's already done isn't it? > > memmap.nr_entries = 1; > map[0].addr = 0ULL; > map[0].size = xen_start_info->nr_pages << PAGE_SHIFT; > /* 8MB slack (to balance backend allocations). */ > map[0].size += 8 << 20; > map[0].type = E820_RAM; x86_64 only, seems there are quite some differences in e820 handling ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg