#ifndef ENVIRONMENT_CACHE_ACCESS_H #define ENVIRONMENT_CACHE_ACCESS_H #include "Types.h" namespace environment { class Cache_Access { public : cache::type_req_cache_t type ; public : cache::direction_req_cache_t direction ; public : uint32_t nb_bytes ; public : Cache_Access (cache::type_req_cache_t type , cache::direction_req_cache_t direction , uint32_t nb_bytes ) { this->type = type ; this->direction = direction; this->nb_bytes = nb_bytes ; }; }; Cache_Access ireq_type2cache_type (morpheo::Ticache_type_t ireq_type, bool uncached); Cache_Access dreq_type2cache_type (morpheo::Tdcache_type_t dreq_type, bool uncached); }; #endif