Re: [Xen-devel] [PATCH 11/11] xen/arm: Limit the scope of cpregs.h

2017-08-17 Thread Julien Grall
On 17/08/17 08:30, Bhupinder Thakur wrote: Hi Julien, Hi Bhupinder, On 11 August 2017 at 23:32, Julien Grall wrote: Currently, cpregs.h is included in pretty much every files even for arm64. However, the only use for arm64 is when emulating co-processors. For arm32, cpregs.h rely on the

Re: [Xen-devel] [PATCH 11/11] xen/arm: Limit the scope of cpregs.h

2017-08-17 Thread Bhupinder Thakur
Hi Julien, On 11 August 2017 at 23:32, Julien Grall wrote: > Currently, cpregs.h is included in pretty much every files even for > arm64. However, the only use for arm64 is when emulating co-processors. > > For arm32, cpregs.h rely on the presence of processor.h (define > *_SYSREG helpers). So mo

[Xen-devel] [PATCH 11/11] xen/arm: Limit the scope of cpregs.h

2017-08-11 Thread Julien Grall
Currently, cpregs.h is included in pretty much every files even for arm64. However, the only use for arm64 is when emulating co-processors. For arm32, cpregs.h rely on the presence of processor.h (define *_SYSREG helpers). So move the inclusion in asm-arm/arm32/processor.h. cpregs.h will also be