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>
10 lines
284 B
Python
10 lines
284 B
Python
# Update IDE disk devices with dmaAborted flag
|
|
def upgrader(cpt):
|
|
for sec in cpt.sections():
|
|
# curSector only exists in IDE devices, so key on that attribute
|
|
if cpt.has_option(sec, "curSector"):
|
|
cpt.set(sec, "dmaAborted", "false")
|
|
|
|
|
|
legacy_version = 7
|