arm:caching define a new caching combination and use that.
This combo was taken from the startware examples. Change-Id: I9ef8d4f4706124a6aaec72f5da65b5301c5c2301
This commit is contained in:
parent
91004287be
commit
c4ffaa0afb
|
@ -48,8 +48,10 @@ arm/vm.h
|
||||||
#define ARM_VM_PTE_WB (ARM_VM_PTE_TEX2 | ARM_VM_PTE_TEX0 | ARM_VM_PTE_B)
|
#define ARM_VM_PTE_WB (ARM_VM_PTE_TEX2 | ARM_VM_PTE_TEX0 | ARM_VM_PTE_B)
|
||||||
/* inner and outer write-through, no write-allocate */
|
/* inner and outer write-through, no write-allocate */
|
||||||
#define ARM_VM_PTE_WT (ARM_VM_PTE_TEX2 | ARM_VM_PTE_TEX1 | ARM_VM_PTE_C )
|
#define ARM_VM_PTE_WT (ARM_VM_PTE_TEX2 | ARM_VM_PTE_TEX1 | ARM_VM_PTE_C )
|
||||||
|
/* Inner , Write through, No Write Allocate Outer - Write Back, Write Allocate */
|
||||||
|
#define ARM_VM_PTE_WTWB (ARM_VM_PTE_TEX2 | ARM_VM_PTE_TEX0 | ARM_VM_PTE_C )
|
||||||
|
|
||||||
#define ARM_VM_PTE_CACHED ARM_VM_PTE_WT
|
#define ARM_VM_PTE_CACHED ARM_VM_PTE_WTWB
|
||||||
/* shareable device */
|
/* shareable device */
|
||||||
#define ARM_VM_PTE_DEVICE (ARM_VM_PTE_B)
|
#define ARM_VM_PTE_DEVICE (ARM_VM_PTE_B)
|
||||||
|
|
||||||
|
@ -76,9 +78,12 @@ arm/vm.h
|
||||||
#define ARM_VM_SECTION_WB (ARM_VM_SECTION_TEX2 | ARM_VM_SECTION_TEX0 | ARM_VM_SECTION_B )
|
#define ARM_VM_SECTION_WB (ARM_VM_SECTION_TEX2 | ARM_VM_SECTION_TEX0 | ARM_VM_SECTION_B )
|
||||||
/* inner and outer write-through, no write-allocate */
|
/* inner and outer write-through, no write-allocate */
|
||||||
#define ARM_VM_SECTION_WT (ARM_VM_SECTION_TEX2 | ARM_VM_SECTION_TEX1 | ARM_VM_SECTION_C )
|
#define ARM_VM_SECTION_WT (ARM_VM_SECTION_TEX2 | ARM_VM_SECTION_TEX1 | ARM_VM_SECTION_C )
|
||||||
|
/* Inner , Write through, No Write Allocate Outer - Write Back, Write Allocate */
|
||||||
|
#define ARM_VM_SECTION_WTWB (ARM_VM_SECTION_TEX2 | ARM_VM_SECTION_TEX0 | ARM_VM_SECTION_C )
|
||||||
/* shareable device */
|
/* shareable device */
|
||||||
|
|
||||||
#define ARM_VM_SECTION_CACHED ARM_VM_SECTION_WT
|
#define ARM_VM_SECTION_CACHED ARM_VM_SECTION_WTWB
|
||||||
|
|
||||||
#define ARM_VM_SECTION_DEVICE (ARM_VM_SECTION_B)
|
#define ARM_VM_SECTION_DEVICE (ARM_VM_SECTION_B)
|
||||||
|
|
||||||
/* Page directory specific flags. */
|
/* Page directory specific flags. */
|
||||||
|
|
Loading…
Reference in a new issue