Sign in
gem5
/
testing
/
jenkins-gem5-prod
/
8c560b6c80e641a1937d9af98cb75588ec4eac05
/
.
/
util
/
cpt_upgraders
/
ide-dma-abort.py
blob: 773e3dbe0a0d1a6d774615e0f471b583aa283abe [
file
] [
log
] [
blame
]
# 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