projects
/
gem5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
util: Add a README file for the m5 utility.
[gem5.git]
/
util
/
cpt_upgraders
/
ide-dma-abort.py
1
# Update IDE disk devices with dmaAborted flag
2
def
upgrader
(
cpt
):
3
for
sec
in
cpt
.
sections
():
4
# curSector only exists in IDE devices, so key on that attribute
5
if
cpt
.
has_option
(
sec
,
"curSector"
):
6
cpt
.
set
(
sec
,
"dmaAborted"
,
"false"
)
7
8
legacy_version
=
7