-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/684/
-----------------------------------------------------------

(Updated 2011-05-27 11:41:44.345753)


Review request for Default.


Summary (updated)
-------

Ruby: Correctly set access permissions for directory entries
The access permissions for the directory entries are not being set correctly.
This is because pointers are not used for handling directory entries.
function. The setState() function will once again set the permissions as well.
But it would make use of the State_to_permission() function, instead of doing
the analysis it used to do earlier. The changePermission() function provided
by the AbstractEntry and AbstractCacheEntry classes has been exposed to SLICC
code once again. The set_permission() functionality has been removed.

The patch has been updated to set permissions for all the five protocols.
All the protocols compile and clears 10000 loads.


Diffs (updated)
-----

  src/mem/protocol/MESI_CMP_directory-L1cache.sm dda2a88eb7c4 
  src/mem/protocol/MESI_CMP_directory-L2cache.sm dda2a88eb7c4 
  src/mem/protocol/MESI_CMP_directory-dir.sm dda2a88eb7c4 
  src/mem/protocol/MI_example-cache.sm dda2a88eb7c4 
  src/mem/protocol/MI_example-dir.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_directory-L1cache.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_directory-L2cache.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_directory-dir.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_token-L1cache.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_token-L2cache.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_CMP_token-dir.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_hammer-cache.sm dda2a88eb7c4 
  src/mem/protocol/MOESI_hammer-dir.sm dda2a88eb7c4 
  src/mem/protocol/RubySlicc_Types.sm dda2a88eb7c4 
  src/mem/slicc/ast/MethodCallExprAST.py dda2a88eb7c4 
  src/mem/slicc/symbols/StateMachine.py dda2a88eb7c4 

Diff: http://reviews.m5sim.org/r/684/diff


Testing
-------


Thanks,

Nilay

_______________________________________________
gem5-dev mailing list
gem5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to