RTEMS 6.1-rc2
Loading...
Searching...
No Matches
cplb.h
Go to the documentation of this file.
1
7/* cplb.h
8 *
9 * Copyright (c) 2006 by Atos Automacao Industrial Ltda.
10 * written by Alain Schaefer <alain.schaefer@easc.ch>
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16#ifndef _CPLB_H
17#define _CPLB_H
18
26/* CPLB configurations */
27#define CPLB_DEF_CACHE_WT CPLB_L1_CHBL | CPLB_WT
28#define CPLB_DEF_CACHE_WB CPLB_L1_CHBL
29#define CPLB_CACHE_ENABLED CPLB_L1_CHBL | CPLB_DIRTY
30
31#define CPLB_DEF_CACHE CPLB_L1_CHBL | CPLB_WT
32#define CPLB_ALL_ACCESS CPLB_SUPV_WR | CPLB_USER_RD | CPLB_USER_WR
33
34#define CPLB_I_PAGE_MGMT CPLB_LOCK | CPLB_VALID
35#define CPLB_D_PAGE_MGMT CPLB_LOCK | CPLB_ALL_ACCESS | CPLB_VALID
36
37#define CPLB_DNOCACHE CPLB_ALL_ACCESS | CPLB_VALID
38#define CPLB_DDOCACHE CPLB_DNOCACHE | CPLB_DEF_CACHE
39#define CPLB_INOCACHE CPLB_USER_RD | CPLB_VALID
40#define CPLB_IDOCACHE CPLB_INOCACHE | CPLB_L1_CHBL
41
42#define CPLB_DDOCACHE_WT CPLB_DNOCACHE | CPLB_DEF_CACHE_WT
43#define CPLB_DDOCACHE_WB CPLB_DNOCACHE | CPLB_DEF_CACHE_WB
44
47#endif /* _CPLB_H */