Searched refs:is_secure (Results 1 - 25 of 47) sorted by relevance

12

/gem5/src/mem/cache/
H A Dcache_blk.cc46 CacheBlk::insert(const Addr tag, const bool is_secure, argument
68 if (is_secure) {
H A Dqueue_entry.hh133 * @param is_secure Whether the target should be in secure space or not.
136 virtual bool matchBlockAddr(const Addr addr, const bool is_secure)
H A Dqueue.hh162 * @param is_secure True if the target memory space is secure.
166 Entry* findMatch(Addr blk_addr, bool is_secure, argument
177 entry->matchBlockAddr(blk_addr, is_secure)) {
H A Dwrite_queue_entry.cc148 WriteQueueEntry::matchBlockAddr(const Addr addr, const bool is_secure) const
151 return (blkAddr == addr) && (isSecure == is_secure);
/gem5/src/mem/cache/prefetch/
H A Dirregular_stream_buffer.cc71 bool is_secure = pfi.isSecure(); local
78 TrainingUnitEntry *entry = trainingUnit.findEntry(pc, is_secure);
82 if (entry != nullptr && entry->lastAddressSecure == is_secure) {
91 trainingUnit.insertEntry(pc, is_secure, entry);
95 entry->lastAddressSecure = is_secure;
100 AddressMapping &mapping_A = getPSMapping(correlated_addr_A, is_secure);
101 AddressMapping &mapping_B = getPSMapping(correlated_addr_B, is_secure);
111 addStructuralToPhysicalEntry(mapping_B.address, is_secure,
124 is_secure, correlated_addr_A);
130 addStructuralToPhysicalEntry(mapping_B.address, is_secure,
171 getPSMapping(Addr paddr, bool is_secure) argument
190 addStructuralToPhysicalEntry( Addr structural_address, bool is_secure, Addr physical_address) argument
[all...]
H A Dirregular_stream_buffer.hh109 * @param is_secure whether this page is inside the secure memory area
112 void addStructuralToPhysicalEntry(Addr structuralAddress, bool is_secure,
120 * @param is_secure whether this page is inside the secure memory area
123 AddressMapping& getPSMapping(Addr paddr, bool is_secure);
H A Dsignature_path.cc96 bool is_secure, std::vector<AddrPriority> &addresses)
161 SignaturePathPrefetcher::getSignatureEntry(Addr ppn, bool is_secure, argument
165 SignatureEntry* signature_entry = signatureTable.findEntry(ppn, is_secure);
178 signatureTable.insertEntry(ppn, is_secure, signature_entry);
233 bool is_secure = pfi.isSecure(); local
240 SignatureEntry &signature_entry = getSignatureEntry(ppn, is_secure,
290 is_secure, addresses);
306 auxiliaryPrefetcher(ppn, current_block, is_secure, addresses);
311 bool is_secure, std::vector<AddrPriority> &addresses)
316 is_secure, addresse
94 addPrefetch(Addr ppn, stride_t last_block, stride_t delta, double path_confidence, signature_t signature, bool is_secure, std::vector<AddrPriority> &addresses) argument
310 auxiliaryPrefetcher(Addr ppn, stride_t current_block, bool is_secure, std::vector<AddrPriority> &addresses) argument
[all...]
H A Dassociative_set_impl.hh56 AssociativeSet<Entry>::findEntry(Addr addr, bool is_secure) const
65 entry->isSecure() == is_secure) {
111 AssociativeSet<Entry>::insertEntry(Addr addr, bool is_secure, Entry* entry) argument
115 entry->setSecure(is_secure);
H A Dassociative_set.hh163 * @param is_secure tag element
167 Entry* findEntry(Addr addr, bool is_secure) const;
194 * @param is_secure tag component of the container
197 void insertEntry(Addr addr, bool is_secure, Entry* entry);
H A Dstride.cc152 bool is_secure = pfi.isSecure(); local
159 StrideEntry *entry = pcTable->findEntry(pc, is_secure);
179 "conf %d\n", pc, pf_addr, is_secure ? "s" : "ns",
203 is_secure ? "s" : "ns");
214 entry->isSecure = is_secure;
251 StridePrefetcher::PCTable::findEntry(Addr pc, bool is_secure) argument
256 if ((entry.instAddr == pc) && (entry.isSecure == is_secure)) {
H A Daccess_map_pattern_matching.cc104 bool is_secure)
106 AccessMapEntry *am_entry = accessMapTable.findEntry(am_addr, is_secure);
113 accessMapTable.insertEntry(am_addr, is_secure, am_entry);
160 bool is_secure = pfi.isSecure(); local
167 AccessMapEntry *am_entry_curr = getAccessMapEntry(am_addr, is_secure);
169 getAccessMapEntry(am_addr-1, is_secure) : nullptr;
171 getAccessMapEntry(am_addr+1, is_secure) : nullptr;
103 getAccessMapEntry(Addr am_addr, bool is_secure) argument
H A Dbase.hh303 bool inCache(Addr addr, bool is_secure) const;
306 bool inMissQueue(Addr addr, bool is_secure) const;
308 bool hasBeenPrefetched(Addr addr, bool is_secure) const;
H A Dsignature_path.hh168 * @param is_secure whether this page is inside the secure memory area
173 bool is_secure,
182 * @param is_secure whether this page is inside the secure memory area
189 SignatureEntry &getSignatureEntry(Addr ppn, bool is_secure, stride_t block,
253 * @param is_secure whether this page is inside the secure memory area
259 bool is_secure, std::vector<AddrPriority> &addresses);
H A Dsignature_path_v2.hh84 void auxiliaryPrefetcher(Addr ppn, stride_t current_block, bool is_secure,
H A Dbase.cc149 BasePrefetcher::inCache(Addr addr, bool is_secure) const
151 return cache->inCache(addr, is_secure);
155 BasePrefetcher::inMissQueue(Addr addr, bool is_secure) const
157 return cache->inMissQueue(addr, is_secure);
161 BasePrefetcher::hasBeenPrefetched(Addr addr, bool is_secure) const
163 return cache->hasBeenPrefetched(addr, is_secure);
/gem5/src/mem/cache/tags/
H A Dsector_tags.hh125 * @param is_secure True if the target memory space is secure.
129 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) override;
144 * @param is_secure True if the target memory space is secure.
147 CacheBlk* findBlock(Addr addr, bool is_secure) const override;
153 * @param is_secure True if the target memory space is secure.
158 CacheBlk* findVictim(Addr addr, const bool is_secure,
H A Dbase_set_assoc.hh123 * @param is_secure True if the target memory space is secure.
127 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) override
129 CacheBlk *blk = findBlock(addr, is_secure);
163 * @param is_secure True if the target memory space is secure.
168 CacheBlk* findVictim(Addr addr, const bool is_secure,
H A Dsector_blk.cc96 SectorSubBlk::insert(const Addr tag, const bool is_secure, argument
102 (_sectorBlk->isSecure() != is_secure)),
105 CacheBlk::insert(tag, is_secure, src_master_ID, task_ID);
H A Dcompressed_tags.hh105 * @param is_secure True if the target memory space is secure.
110 CacheBlk* findVictim(Addr addr, const bool is_secure,
H A Dsector_tags.cc136 SectorTags::accessBlock(Addr addr, bool is_secure, Cycles &lat)
138 CacheBlk *blk = findBlock(addr, is_secure);
197 SectorTags::findBlock(Addr addr, bool is_secure) const
214 blk->isSecure() == is_secure) {
224 SectorTags::findVictim(Addr addr, const bool is_secure, const std::size_t size,
237 (is_secure == sector_blk->isSecure())){
256 (is_secure == victim_sector->isSecure())){
H A Dbase.hh199 * @param is_secure True if the target memory space is secure.
202 virtual CacheBlk *findBlock(Addr addr, bool is_secure) const;
279 * @param is_secure True if the target memory space is secure.
284 virtual CacheBlk* findVictim(Addr addr, const bool is_secure,
295 * @param is_secure True if the target memory space is secure.
299 virtual CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) = 0;
H A Dfa_lru.hh185 * @param is_secure True if the target memory space is secure.
190 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat,
196 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) override;
201 * @param is_secure True if the target memory space is secure.
205 CacheBlk* findBlock(Addr addr, bool is_secure) const override;
221 * @param is_secure True if the target memory space is secure.
226 CacheBlk* findVictim(Addr addr, const bool is_secure,
H A Dsector_blk.hh126 * @param is_secure Whether the block is in secure space or not.
130 void insert(const Addr tag, const bool is_secure, const int src_master_ID,
H A Dfa_lru.cc141 FALRU::accessBlock(Addr addr, bool is_secure, Cycles &lat) argument
143 return accessBlock(addr, is_secure, lat, 0);
147 FALRU::accessBlock(Addr addr, bool is_secure, Cycles &lat, argument
151 FALRUBlk* blk = static_cast<FALRUBlk*>(findBlock(addr, is_secure));
173 FALRU::findBlock(Addr addr, bool is_secure) const
178 auto iter = tagHash.find(std::make_pair(tag, is_secure));
185 assert(blk->isSecure() == is_secure);
199 FALRU::findVictim(Addr addr, const bool is_secure, const std::size_t size, argument
/gem5/src/arch/arm/
H A Dinterrupts.cc69 bool is_secure = inSecureState(tc); local
104 if (!is_secure && (el == EL0 || el == EL1))
111 if ((!is_secure) &&
132 else if (is_secure || el == EL2)
147 else if (is_secure || el == EL2)

Completed in 30 milliseconds

12