From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Libxc code to get MTRR memory type for physical address pa Date: Thu, 13 Dec 2012 19:32:48 +0200 Message-ID: <50CA1140.1000808@gmail.com> References: <50C9F09D.9080602@gmail.com> <20121213172158.GR75286@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121213172158.GR75286@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > I think you'd have to write some code to decode the MTRRs, by copying > the logic that Xen uses in get_mtrr_type (or by following the processor > manuals). > > If you do, please send a patch to add it to libxc for the next person! Ah, I thought it might come to this. :) Of course, if I end up doing it I'll happily contribute the patch. Thanks, Razvan Cojocaru