diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-21 19:11:38 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-21 19:11:38 -0400 |
commit | 53ba34391ff7b82dd143c7cce0d31bf56882d5ae (patch) | |
tree | 9dd96b37c02907c6ab8e9fd34d89517980a2259b /src/dev | |
parent | e8ace88e897a4b0f61526ac0fe88740d337f0509 (diff) | |
download | gem5-53ba34391ff7b82dd143c7cce0d31bf56882d5ae.tar.xz |
fixes for solaris compile
--HG--
extra : convert_revision : c82a62a61650e3700d237da917c453e5a9676320
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/alpha/console.cc | 2 |
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)); } |