From: Ian Campbell Subject: Re: [PATCH] arm: use symbolic constants for initial page table attributes Date: Thu, 15 Mar 2012 17:29:03 +0000 Message-ID: <1331832543.26979.156.camel@zakaz.uk.xensource.com> References: <1331826008-8603-1-git-send-email-ian.campbell@citrix.com> <20120315172702.GG12366@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120315172702.GG12366@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 On Thu, 2012-03-15 at 17:27 +0000, Tim Deegan wrote: > At 15:40 +0000 on 15 Mar (1331826008), Ian Campbell wrote: > > Signed-off-by: Ian Campbell > > --- > > xen/arch/arm/head.S | 22 ++++++++++++++-------- > > 1 files changed, 14 insertions(+), 8 deletions(-) > > > > diff --git a/xen/arch/arm/head.S b/xen/arch/arm/head.S > > index eabb403..6fb7214 100644 > > --- a/xen/arch/arm/head.S > > +++ b/xen/arch/arm/head.S > > @@ -21,6 +21,12 @@ > > #include > > #include > > > > +#define XEN_PT_PT 0xe7f /* nG=1, AF=1, SH=10, AP=01, NS=1, ATTR=111, T=1, P=1 */ > > +#define XEN_PT_MEM 0xe7d /* nG=1, AF=1, SH=10, AP=01, NS=1, ATTR=111, T=0, P=1 */ > > +#define XEN_PT_DEV 0xe71 /* nG=1, AF=1, SH=10, AP=01, NS=1, ATTR=100, T=0, P=1 */ > > + > > Since these are file-local, maybe drop the XEN_ prefix to avoid the long > lines? Hmm. My Emacs appears to have stopped highlighting the 80th column. How odd. > Otherwise, Ack. Thanks.