1# Add block_size_bytes to system.ruby
2def upgrader(cpt):
3    for sec in cpt.sections():
4        if sec == 'system.ruby':
5            # Use Gem5's default of 64; this should be changed if the to be
6            # upgraded checkpoints were not taken with block-size 64!
7            cpt.set(sec, 'block_size_bytes', '64')
8
9legacy_version = 10
10