]> 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, 9 Aug 2011 14:30:55 +0000 (15:30 +0100)
commit4dd5cf5e6fda3514e406e91778ae4088445ad29a
tree186c7b054a899b2690d6e2d0d9bf503493502c39
parent2036e47fe8bd16fc96cc89822783975868c4b3b2
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