summaryrefslogtreecommitdiff
path: root/util/cpt_upgraders/ruby-block-size-bytes.py
blob: 337bd5d035682f3bf88799346281fa2f95453d7a (plain)
1
2
3
4
5
6
7
8
9
# Add block_size_bytes to system.ruby
def upgrader(cpt):
    for sec in cpt.sections():
        if sec == 'system.ruby':
            # Use Gem5's default of 64; this should be changed if the to be
            # upgraded checkpoints were not taken with block-size 64!
            cpt.set(sec, 'block_size_bytes', '64')

legacy_version = 10