Changeset 305


Ignore:
Timestamp:
Feb 26, 2013, 4:35:05 PM (12 years ago)
Author:
joannou
Message:

In vci_mem_cache component:
Adding an assert for cleanup commands received with no copy in the directory
(such a cleanup should not be received by the vci_mem_cache)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp

    r295 r305  
    37063706          if( entry.valid) //  hit : the copy must be cleared
    37073707          {
     3708            assert( (entry.count > 0) &&
     3709                    "CLEANUP command received with no copy in the directory");
     3710
    37083711            if ( (entry.count==1) || (entry.is_cnt) )  // no access to the heap
    37093712            {
     
    37733776        if (not r_cleanup_is_cnt.read() and not match) {
    37743777            std::cout
    3775               << "VCI_MEM_CACHE ERROR : Cleanup request on a valid"
    3776               << "entry using linked list mode with no corresponding"
     3778              << "VCI_MEM_CACHE ERROR : Cleanup request on a valid "
     3779              << "entry using linked list mode with no corresponding "
    37773780              << "directory or heap entry"
    37783781              << std::endl;
Note: See TracChangeset for help on using the changeset viewer.