build/X86_MESI_Two_Level/mem/protocol/L1Cache_Controller.cc
/** \brief Notify sequencer the load completed. */
\brief Notify sequencer the load completed.
\ brief Notify sequencer the load completed .
void
L1Cache_Controller::hx_load_hit(L1Cache_TBE*& m_tbe_ptr, L1Cache_Entry*& m_cache_entry_ptr, Addr addr, int core_id)
{
    DPRINTF(RubyGenerated, "executing hx_load_hit\n");
    try {
       #ifndef NDEBUG
if (!((m_cache_entry_ptr != NULL))) {
    panic("Runtime Error at MESI_Two_Level-L1cache.sm:875: %s.\n", "assert failure");
}
#endif
;
DPRINTF(RubySlicc, "MESI_Two_Level-L1cache.sm:876: %s\n", (*m_cache_entry_ptr).m_DataBlk);
(((*m_L1Icache_ptr)).setMRU(addr));
(((*m_L1Dcache_ptr)).setMRU(addr));
(((*m_sequencer_ptr)).readCallback(addr, (*m_cache_entry_ptr).m_DataBlk, (true)));
    } catch (const RejectException & e) {
       fatal("Error in action L1Cache:hx_load_hit: "
             "executed a peek statement with the wrong message "
             "type specified. ");
    }
}
void L1Cache_Controller :: hx_load_hit ( L1Cache_TBE * & m_tbe_ptr , L1Cache_Entry * & m_cache_entry_ptr , Addr addr , int core_id ) { DPRINTF ( RubyGenerated , " \n " ) ; try { #ifndef NDEBUG if ( ! ( ( m_cache_entry_ptr != NULL ) ) ) { panic ( " \n " , " " ) ; } #endif ; DPRINTF ( RubySlicc , " \n " , ( * m_cache_entry_ptr ) . m_DataBlk ) ; ( ( ( * m_L1Icache_ptr ) ) . setMRU ( addr ) ) ; ( ( ( * m_L1Dcache_ptr ) ) . setMRU ( addr ) ) ; ( ( ( * m_sequencer_ptr ) ) . readCallback ( addr , ( * m_cache_entry_ptr ) . m_DataBlk , ( true ) ) ) ; } catch ( const RejectException & e ) { fatal ( " " " " " " ) ; } }
\brief Notify sequencer the load completed.
\ brief Notify sequencer the load completed .
//fanyao added core_id