summaryrefslogtreecommitdiff
path: root/src/dev/alpha/console.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-04-21 19:11:38 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-04-21 19:11:38 -0400
commit53ba34391ff7b82dd143c7cce0d31bf56882d5ae (patch)
tree9dd96b37c02907c6ab8e9fd34d89517980a2259b /src/dev/alpha/console.cc
parente8ace88e897a4b0f61526ac0fe88740d337f0509 (diff)
downloadgem5-53ba34391ff7b82dd143c7cce0d31bf56882d5ae.tar.xz
fixes for solaris compile
--HG-- extra : convert_revision : c82a62a61650e3700d237da917c453e5a9676320
Diffstat (limited to 'src/dev/alpha/console.cc')
-rw-r--r--src/dev/alpha/console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/alpha/console.cc b/src/dev/alpha/console.cc
index f077efe6c..443f376a5 100644
--- a/src/dev/alpha/console.cc
+++ b/src/dev/alpha/console.cc
@@ -76,7 +76,7 @@ AlphaConsole::AlphaConsole(Params *p)
alphaAccess->diskOperation = 0;
alphaAccess->outputChar = 0;
alphaAccess->inputChar = 0;
- bzero(alphaAccess->cpuStack, sizeof(alphaAccess->cpuStack));
+ std::memset(alphaAccess->cpuStack, 0, sizeof(alphaAccess->cpuStack));
}