[rtems commit] bsps/arm: Use Write-Allocate cache for ARMv7
Sebastian Huber
sebh at rtems.org
Fri May 31 13:15:45 UTC 2013
Module: rtems
Branch: master
Commit: 5b391f857b96ef11698ba89f8906f84cd1ad4585
Changeset: http://git.rtems.org/rtems/commit/?id=5b391f857b96ef11698ba89f8906f84cd1ad4585
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri May 31 10:00:07 2013 +0200
bsps/arm: Use Write-Allocate cache for ARMv7
---
c/src/lib/libcpu/arm/shared/include/arm-cp15.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libcpu/arm/shared/include/arm-cp15.h b/c/src/lib/libcpu/arm/shared/include/arm-cp15.h
index 478dd33..ffb2cc6 100644
--- a/c/src/lib/libcpu/arm/shared/include/arm-cp15.h
+++ b/c/src/lib/libcpu/arm/shared/include/arm-cp15.h
@@ -91,7 +91,7 @@ extern "C" {
| ARM_MMU_SECT_DEFAULT)
#define ARMV7_MMU_READ_ONLY_CACHED \
- (ARMV7_MMU_READ_ONLY | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
+ (ARMV7_MMU_READ_ONLY | ARM_MMU_SECT_TEX_0 | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
#define ARMV7_MMU_READ_WRITE \
((ARM_MMU_DEFAULT_CLIENT_DOMAIN << ARM_MMU_SECT_DOMAIN_SHIFT) \
@@ -99,7 +99,7 @@ extern "C" {
| ARM_MMU_SECT_DEFAULT)
#define ARMV7_MMU_READ_WRITE_CACHED \
- (ARMV7_MMU_READ_WRITE | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
+ (ARMV7_MMU_READ_WRITE | ARM_MMU_SECT_TEX_0 | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
#define ARMV7_MMU_DATA_READ_ONLY \
ARMV7_MMU_READ_ONLY
More information about the vc
mailing list