X86: Initialize the value behind port 61 so unused bits are consistent.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 1 Feb 2009 07:26:43 +0000 (23:26 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 1 Feb 2009 07:26:43 +0000 (23:26 -0800)
src/dev/x86/speaker.hh

index 7d28d6cf7bbe04a2083b338a4cef933d54f4f4a3..6778dcb2837e388878009c6c675dfe0cf9b21b44 100644 (file)
@@ -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;
     }