]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: Introduce the 3-level page table format definitions
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 31 Jan 2011 13:50:41 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Jun 2011 13:43:57 +0000 (14:43 +0100)
commitc81127d019761656ebb68c3f8e10b0cc31901436
tree3f16a723d4f5f56aec3a9fbd88e68f77a56ec637
parent1218fece8749fd63d14b8d7d477bb0a8b4fadb8c
ARM: LPAE: Introduce the 3-level page table format definitions

This patch introduces the pgtable-3level*.h files with definitions
specific to the LPAE page table format (3 levels of page tables).

Each table is 4KB and has 512 64-bit entries. An entry can point to a
40-bit physical address. The young, write and exec software bits share
the corresponding hardware bits (negated). Other software bits use spare
bits in the PTE.

The patch also changes some variable types from unsigned long or int to
pteval_t or pgprot_t.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/page.h
arch/arm/include/asm/pgtable-3level-hwdef.h [new file with mode: 0644]
arch/arm/include/asm/pgtable-3level-types.h [new file with mode: 0644]
arch/arm/include/asm/pgtable-3level.h [new file with mode: 0644]
arch/arm/include/asm/pgtable-hwdef.h
arch/arm/include/asm/pgtable.h