111077SCurtis.Dunham@arm.com# Add block_size_bytes to system.ruby
211077SCurtis.Dunham@arm.comdef upgrader(cpt):
311077SCurtis.Dunham@arm.com    for sec in cpt.sections():
411077SCurtis.Dunham@arm.com        if sec == 'system.ruby':
511077SCurtis.Dunham@arm.com            # Use Gem5's default of 64; this should be changed if the to be
611077SCurtis.Dunham@arm.com            # upgraded checkpoints were not taken with block-size 64!
711077SCurtis.Dunham@arm.com            cpt.set(sec, 'block_size_bytes', '64')
811077SCurtis.Dunham@arm.com
911077SCurtis.Dunham@arm.comlegacy_version = 10
10