Re: [PATCH 10/36] AArch64: MMU definitions

2012-10-02 Thread Catalin Marinas
On Tue, Oct 02, 2012 at 01:43:04AM +0100, Jon Masters wrote: > On 07/06/2012 05:05 PM, Catalin Marinas wrote: > > > +/* > > + * PAGE_OFFSET - the virtual address of the start of the kernel image. > > + * VA_BITS - the maximum number of bits for virtual addresses. > > + * TASK_SIZE - the maximum si

Re: [PATCH 10/36] AArch64: MMU definitions

2012-10-01 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > +/* > + * PAGE_OFFSET - the virtual address of the start of the kernel image. > + * VA_BITS - the maximum number of bits for virtual addresses. > + * TASK_SIZE - the maximum size of a user space task. > + * TASK_UNMAPPED_BASE - the lower boundary of

[PATCH 10/36] AArch64: MMU definitions

2012-07-06 Thread Catalin Marinas
The virtual memory layout is described in Documentation/aarch64/memory.txt. This patch adds the MMU definitions for the 4KB and 64KB translation table configurations. The SECTION_SIZE is 2MB with 4KB page and 512MB with 64KB page configuration. PHYS_OFFSET is calculated at run-time and stored in a