summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-01-31 23:26:43 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-01-31 23:26:43 -0800
commit64b663c6071ecd58eff6dacd38ee351038259427 (patch)
tree8e2d5ee8c5dd7eb493dc03393747ed6f255cff2a /src
parent953e4bba59262ed4ee7268e5f49b992d7b0c02d6 (diff)
downloadgem5-64b663c6071ecd58eff6dacd38ee351038259427.tar.xz
X86: Initialize the value behind port 61 so unused bits are consistent.
Diffstat (limited to 'src')
-rw-r--r--src/dev/x86/speaker.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/x86/speaker.hh b/src/dev/x86/speaker.hh
index 7d28d6cf7..6778dcb28 100644
--- a/src/dev/x86/speaker.hh
+++ b/src/dev/x86/speaker.hh
@@ -64,7 +64,7 @@ class Speaker : public BasicPioDevice
}
Speaker(Params *p) : BasicPioDevice(p),
- latency(p->pio_latency), timer(p->i8254)
+ latency(p->pio_latency), controlVal(0), timer(p->i8254)
{
pioSize = 1;
}