ruby-block-size-bytes.py revision 11077
112852Sgabeblack@google.com# Add block_size_bytes to system.ruby
212852Sgabeblack@google.comdef upgrader(cpt):
312852Sgabeblack@google.com    for sec in cpt.sections():
412852Sgabeblack@google.com        if sec == 'system.ruby':
512852Sgabeblack@google.com            # Use Gem5's default of 64; this should be changed if the to be
612852Sgabeblack@google.com            # upgraded checkpoints were not taken with block-size 64!
712852Sgabeblack@google.com            cpt.set(sec, 'block_size_bytes', '64')
812852Sgabeblack@google.com
912852Sgabeblack@google.comlegacy_version = 10
1012852Sgabeblack@google.com