[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/7] target-xtensa: handle cache options in the over
From: |
Max Filippov |
Subject: |
[Qemu-devel] [PATCH 2/7] target-xtensa: handle cache options in the overlay tool |
Date: |
Tue, 1 Nov 2011 02:17:28 +0400 |
Cache options must be enabled for the cores that have cache to avoid
illegal instruction exceptions.
Signed-off-by: Max Filippov <address@hidden>
---
target-xtensa/overlay_tool.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/overlay_tool.h b/target-xtensa/overlay_tool.h
index 060e8e5..9cef27d 100644
--- a/target-xtensa/overlay_tool.h
+++ b/target-xtensa/overlay_tool.h
@@ -71,6 +71,12 @@
XTENSA_OPTION_HIGH_PRIORITY_INTERRUPT) | \
XCHAL_OPTION(XCHAL_HAVE_CCOUNT, XTENSA_OPTION_TIMER_INTERRUPT) | \
/* Local memory, TODO */ \
+ XCHAL_OPTION(XCHAL_ICACHE_WAYS, XTENSA_OPTION_ICACHE) | \
+ XCHAL_OPTION(XCHAL_ICACHE_LINE_LOCKABLE, \
+ XTENSA_OPTION_ICACHE_INDEX_LOCK) | \
+ XCHAL_OPTION(XCHAL_DCACHE_WAYS, XTENSA_OPTION_DCACHE) | \
+ XCHAL_OPTION(XCHAL_DCACHE_LINE_LOCKABLE, \
+ XTENSA_OPTION_DCACHE_INDEX_LOCK) | \
XCHAL_OPTION(XCHAL_UNALIGNED_LOAD_HW, XTENSA_OPTION_HW_ALIGNMENT) | \
/* Memory protection and translation */ \
XCHAL_OPTION(XCHAL_HAVE_MIMIC_CACHEATTR, \
--
1.7.6.4
- [Qemu-devel] [PULL 0/7] target-xtensa patches for 1.0, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 2/7] target-xtensa: handle cache options in the overlay tool,
Max Filippov <=
- [Qemu-devel] [PATCH 1/7] target-xtensa: mask out undefined bits of WINDOWBASE SR, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 1/3] xtensa_lx60: add FLASH support, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 2/3] xtensa_lx60: pass kernel arguments from -append, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 3/3] xtensa_lx60: fix build date code and change memory region names, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 4/7] opencores_eth: fix RX path: FCS, padding and TL, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 3/7] target-xtensa: raise an exception for invalid and reserved opcodes, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 6/7] xtensa_lx60: pass kernel arguments from -append, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 7/7] xtensa_lx60: fix build date code and change memory region names, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 5/7] xtensa_lx60: add FLASH support, Max Filippov, 2011/10/31
- Re: [Qemu-devel] [PULL 0/7] target-xtensa patches for 1.0, Max Filippov, 2011/10/31