summaryrefslogtreecommitdiff
path: root/libcpu/mips/common/mips_cache.h
diff options
context:
space:
mode:
authoryangjie11 <[email protected]>2020-11-18 09:56:35 +0800
committerGitHub <[email protected]>2020-11-18 09:56:35 +0800
commitd4a682e8d97fa131e5a8d795f8c5451d55cdd5b0 (patch)
tree4773b40cb012475c5daf74bfd55707e141477669 /libcpu/mips/common/mips_cache.h
parent2b98f4720c827ae1850df78299f6b273d568c8c7 (diff)
parent2ef3c9d861f55253620996a94831a4be31ca6620 (diff)
Merge pull request #3 from RT-Thread/master
sync
Diffstat (limited to 'libcpu/mips/common/mips_cache.h')
-rw-r--r--libcpu/mips/common/mips_cache.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcpu/mips/common/mips_cache.h b/libcpu/mips/common/mips_cache.h
index a947041073..438dd76cde 100644
--- a/libcpu/mips/common/mips_cache.h
+++ b/libcpu/mips/common/mips_cache.h
@@ -19,7 +19,7 @@
*
* Change Logs:
* Date Author Notes
- * 2016��9��10�� Urey the first version
+ * 2016-09-07 Urey the first version
*/
#ifndef _MIPS_CACHE_H_
@@ -38,11 +38,7 @@
#define INDEX_LOAD_TAG_D 0x05
#define INDEX_STORE_TAG_I 0x08
#define INDEX_STORE_TAG_D 0x09
-#if defined(CONFIG_CPU_LOONGSON2)
-#define HIT_INVALIDATE_I 0x00
-#else
#define HIT_INVALIDATE_I 0x10
-#endif
#define HIT_INVALIDATE_D 0x11
#define HIT_WRITEBACK_INV_D 0x15