build/X86_MESI_Two_Level/mem/protocol/L2Cache_Controller.cc
/** \brief Set L2 cache tag equal to tag of block B. */
\brief Set L2 cache tag equal to tag of block B.
\ brief Set L2 cache tag equal to tag of block B .
void
L2Cache_Controller::qq_allocateL2CacheBlock(L2Cache_TBE*& m_tbe_ptr, L2Cache_Entry*& m_cache_entry_ptr, Addr addr, int core_id)
{
    DPRINTF(RubyGenerated, "executing qq_allocateL2CacheBlock\n");
    try {
           if ((m_cache_entry_ptr == NULL)) {
        set_cache_entry(m_cache_entry_ptr, (((*m_L2cache_ptr)).allocate(addr, new L2Cache_Entry, core_id)));;
    }
    } catch (const RejectException & e) {
       fatal("Error in action L2Cache:qq_allocateL2CacheBlock: "
             "executed a peek statement with the wrong message "
             "type specified. ");
    }
}
void L2Cache_Controller :: qq_allocateL2CacheBlock ( L2Cache_TBE * & m_tbe_ptr , L2Cache_Entry * & m_cache_entry_ptr , Addr addr , int core_id ) { DPRINTF ( RubyGenerated , " \n " ) ; try { if ( ( m_cache_entry_ptr == NULL ) ) { set_cache_entry ( m_cache_entry_ptr , ( ( ( * m_L2cache_ptr ) ) . allocate ( addr , new L2Cache_Entry , core_id ) ) ) ; ; } } catch ( const RejectException & e ) { fatal ( " " " " " " ) ; } }
\brief Set L2 cache tag equal to tag of block B.
\ brief Set L2 cache tag equal to tag of block B .
//fanyao added core_id