From: Tim Deegan Subject: Re: [PATCH] arm: use symbolic constants for initial page table attributes Date: Thu, 15 Mar 2012 17:27:02 +0000 Message-ID: <20120315172702.GG12366@ocelot.phlegethon.org> References: <1331826008-8603-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1331826008-8603-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? Otherwise, Ack. Tim.