Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:40

0001 /**
0002  * @file
0003  * @ingroup ezkit533_cplb
0004  * @brief CPLB configurations.
0005  */
0006 
0007 /*  cplb.h
0008  *
0009  *  Copyright (c) 2006 by Atos Automacao Industrial Ltda.
0010  *             written by Alain Schaefer <alain.schaefer@easc.ch>
0011  *
0012  *  The license and distribution terms for this file may be
0013  *  found in the file LICENSE in this distribution or at
0014  *  http://www.rtems.org/license/LICENSE.
0015  */
0016 #ifndef _CPLB_H
0017 #define _CPLB_H
0018 
0019 /**
0020  * @defgroup ezkit533_cplb CPLB Configuration
0021  * @ingroup RTEMSBSPsBfinEZKit533
0022  * @brief CPLB Configuration
0023  * @{
0024  */
0025 
0026 /* CPLB configurations */
0027 #define CPLB_DEF_CACHE_WT   CPLB_L1_CHBL | CPLB_WT
0028 #define CPLB_DEF_CACHE_WB   CPLB_L1_CHBL
0029 #define CPLB_CACHE_ENABLED  CPLB_L1_CHBL | CPLB_DIRTY
0030 
0031 #define CPLB_DEF_CACHE      CPLB_L1_CHBL | CPLB_WT
0032 #define CPLB_ALL_ACCESS CPLB_SUPV_WR | CPLB_USER_RD | CPLB_USER_WR
0033 
0034 #define CPLB_I_PAGE_MGMT    CPLB_LOCK | CPLB_VALID
0035 #define CPLB_D_PAGE_MGMT    CPLB_LOCK | CPLB_ALL_ACCESS | CPLB_VALID
0036 
0037 #define CPLB_DNOCACHE       CPLB_ALL_ACCESS | CPLB_VALID
0038 #define CPLB_DDOCACHE       CPLB_DNOCACHE | CPLB_DEF_CACHE
0039 #define CPLB_INOCACHE       CPLB_USER_RD | CPLB_VALID
0040 #define CPLB_IDOCACHE       CPLB_INOCACHE | CPLB_L1_CHBL
0041 
0042 #define CPLB_DDOCACHE_WT    CPLB_DNOCACHE | CPLB_DEF_CACHE_WT
0043 #define CPLB_DDOCACHE_WB    CPLB_DNOCACHE | CPLB_DEF_CACHE_WB
0044 
0045 /** @} */
0046 
0047 #endif /* _CPLB_H */