- Timestamp:
- Sep 14, 2013, 1:06:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/generic_llsc_global_table/include/generic_llsc_global_table.h
r514 r523 453 453 } 454 454 */ 455 inline void sw(const addr_t nline, unsigned int min, unsigned intmax)455 inline void sw(const addr_t ad_min, const addr_t ad_max) 456 456 // This method checks if there is / are valid registration(s) for the given 457 457 // range and, in case of hit(s), invalidates the registration(s) … … 466 466 467 467 // for every address in the given range ... 468 for ( unsigned int i = min; i <=max; i++)468 for (addr_t i = ad_min; i <= ad_max; i++) 469 469 { 470 470 // Is there a registration for the given address ? 471 int pos = hitAddr(nline + i * 4); 471 int pos = hitAddr(i); 472 472 473 // If there is one, invalidate it 473 474 if (pos >= 0)
Note: See TracChangeset
for help on using the changeset viewer.