The command executed was `black src configs tests util`. Change-Id: I8dfaa6ab04658fea37618127d6ac19270028d771 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47024 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
11 lines
340 B
Python
11 lines
340 B
Python
# 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
|