RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
bfin
include
libcpu
memoryRegs.h
1
/* Blackfin Memory Registers
2
*
3
* Copyright (c) 2008 Kallisti Labs, Los Gatos, CA, USA
4
* written by Allan Hessenflow <allanh@kallisti.com>
5
*
6
* The license and distribution terms for this file may be
7
* found in the file LICENSE in this distribution or at
8
* http://www.rtems.org/license/LICENSE.
9
*/
10
11
#ifndef _memoryRegs_h_
12
#define _memoryRegs_h_
13
14
/* register addresses */
15
#define DMEM_CONTROL 0xffe00004
16
#define DTEST_COMMAND 0xffe00300
17
#define DTEST_DATA0 0xffe00400
18
#define DTEST_DATA1 0xffe00404
19
20
#define IMEM_CONTROL 0xffe01004
21
22
23
/* register fields */
24
#define DMEM_CONTROL_PORT_PREF1 0x00002000
25
#define DMEM_CONTROL_PORT_PREF0 0x00001000
26
#define DMEM_CONTROL_DCBS 0x00000010
27
#define DMEM_CONTROL_DMC_MASK 0x0000000c
28
#define DMEM_CONTROL_DMC_SHIFT 2
29
#define DMEM_CONTROL_ENDCPLB 0x00000002
30
31
#define DTEST_COMMAND_ACCESS_WAY1 0x02000000
32
#define DTEST_COMMAND_ACCESS_INSTRUCTION 0x01000000
33
#define DTEST_COMMAND_ACCESS_BANKB 0x00800000
34
#define DTEST_COMMAND_SRAM_ADDR_13_12_MASK 0x00030000
35
#define DTEST_COMMAND_SRAM_ADDR_13_12_SHIFT 16
36
#define DTEST_COMMAND_DATA_CACHE_SELECT 0x00004000
37
#define DTEST_COMMAND_SET_INDEX_MASK 0x000007e0
38
#define DTEST_COMMAND_SET_INDEX_SHIFT 5
39
#define DTEST_COMMAND_DOUBLE_WORD_INDEX_MASK 0x00000018
40
#define DTEST_COMMAND_DOUBLE_WORD_INDEX_SHIFT 3
41
#define DTEST_COMMAND_ACCESS_DATA_ARRAY 0x00000004
42
#define DTEST_COMMAND_WRITE_ACCESS 0x00000002
43
44
#define DTEST_DATA0_TAG_19_2_MASK 0xffffc000
45
#define DTEST_DATA0_TAG_19_2_SHIFT 14
46
#define DTEST_DATA0_TAG 0x00000800
47
#define DTEST_DATA0_LRU 0x00000004
48
#define DTEST_DATA0_DIRTY 0x00000002
49
#define DTEST_DATA0_VALID 0x00000001
50
51
#define IMEM_CONTROL_LRUPRIORST 0x00002000
52
#define IMEM_CONTROL_ILOC_MASK 0x00000078
53
#define IMEM_CONTROL_ILOC_SHIFT 3
54
#define IMEM_CONTROL_IMC 0x00000004
55
#define IMEM_CONTROL_ENICPLB 0x00000002
56
57
58
#endif
/* _memoryRegs_h_ */
Generated by
1.18.0