]> 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>
Mon, 14 Nov 2011 14:12:28 +0000 (14:12 +0000)
commita59360cd146caf55fe8cc4df6dd68e694984b7ac
tree50d9b0f0cc4f2c870928081f6deda63aa8725974
parentb300e401aa67126a8aad44b99c722bc1614897ae
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