diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-08-21 05:50:03 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-08-21 05:50:03 -0400 |
commit | 70e99e0b915fa7ed9ac682af6f68f077799ddea7 (patch) | |
tree | f8554cd3a43fee7e246458b89ee52f5c67686f0c /src/dev/x86/PcSpeaker.py | |
parent | a81c969529d3a1645b490fcde93d231ec997b7ba (diff) | |
download | gem5-70e99e0b915fa7ed9ac682af6f68f077799ddea7.tar.xz |
Device: Remove overloaded pio_latency parameter
This patch removes the overloading of the parameter, which seems both
redundant, and possibly incorrect.
The PciConfigAll now also uses a Param.Latency rather than a
Param.Tick. For backwards compatibility it still sets the pio_latency
to 1 tick. All the comments have also been updated to not state that
it is in simticks when it is not necessarily the case.
Diffstat (limited to 'src/dev/x86/PcSpeaker.py')
-rw-r--r-- | src/dev/x86/PcSpeaker.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dev/x86/PcSpeaker.py b/src/dev/x86/PcSpeaker.py index 7ca62ec1e..cc1f5517a 100644 --- a/src/dev/x86/PcSpeaker.py +++ b/src/dev/x86/PcSpeaker.py @@ -33,5 +33,4 @@ from Device import BasicPioDevice class PcSpeaker(BasicPioDevice): type = 'PcSpeaker' cxx_class = 'X86ISA::Speaker' - pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks") i8254 = Param.I8254('Timer that drives the speaker') |