Lines Matching defs:address

58     // tests to see if an address is present in the cache
59 bool isTagPresent(Addr address) const;
62 // a) a tag match on this address or there is
64 bool cacheAvail(Addr address) const;
66 // find an Invalid entry and sets the tag appropriate for the address
67 void allocate(Addr address);
69 void deallocate(Addr address);
71 // Returns with the physical address of the conflicting cache line
74 // looks an address up in the cache
75 ENTRY* lookup(Addr address);
76 const ENTRY* lookup(Addr address) const;
79 AccessPermission getPermission(Addr address) const;
80 void changePermission(Addr address, AccessPermission new_perm);
109 // tests to see if an address is present in the cache
112 PerfectCacheMemory<ENTRY>::isTagPresent(Addr address) const
114 return m_map.count(makeLineAddress(address)) > 0;
119 PerfectCacheMemory<ENTRY>::cacheAvail(Addr address) const
125 // appropriate for the address
128 PerfectCacheMemory<ENTRY>::allocate(Addr address)
133 m_map[makeLineAddress(address)] = line_state;
139 PerfectCacheMemory<ENTRY>::deallocate(Addr address)
141 m_map.erase(makeLineAddress(address));
144 // Returns with the physical address of the conflicting cache line
153 // looks an address up in the cache
156 PerfectCacheMemory<ENTRY>::lookup(Addr address)
158 return &m_map[makeLineAddress(address)].m_entry;
161 // looks an address up in the cache
164 PerfectCacheMemory<ENTRY>::lookup(Addr address) const
166 return &m_map[makeLineAddress(address)].m_entry;
171 PerfectCacheMemory<ENTRY>::getPermission(Addr address) const
173 return m_map[makeLineAddress(address)].m_permission;
178 PerfectCacheMemory<ENTRY>::changePermission(Addr address,
181 Addr line_address = makeLineAddress(address);