Changeset 482 for trunk/modules


Ignore:
Timestamp:
Aug 2, 2013, 3:17:15 PM (11 years ago)
Author:
joannou
Message:

Updated llsc memcache table interface for sw operation (now able to invalidate a range of addresses)

File:
1 edited

Legend:

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

    r481 r482  
    25902590        // erase any possible new reservation when we release the lock on the
    25912591        // directory
    2592         m_llsc_table.sw(r_write_address.read());
     2592        m_llsc_table.sw(m_nline[(addr_t)r_write_address.read()],r_write_word_index.read(),r_write_word_index.read()+r_write_word_count.read());
    25932593
    25942594        r_write_fsm = WRITE_DIR_LOCK;
     
    52835283    {
    52845284      // The CAS is a success => sw access to the llsc_global_table
    5285       m_llsc_table.sw(m_cmd_cas_addr_fifo.read());
     5285      m_llsc_table.sw(m_nline[(addr_t)m_cmd_cas_addr_fifo.read()],m_x[(addr_t)(m_cmd_cas_addr_fifo.read())],m_x[(addr_t)(m_cmd_cas_addr_fifo.read())]);
    52865286
    52875287      // test coherence request
Note: See TracChangeset for help on using the changeset viewer.