diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-21 19:12:13 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-21 19:12:13 -0400 |
commit | 088a0565836fc678fabef3c8662de79595bf20c2 (patch) | |
tree | 1c6db574ec295ed96fd9fe2beeca0f44d3b019c3 /src/arch/alpha/intregfile.hh | |
parent | 25e92383c839f6d69f933f614fd3f9acef907075 (diff) | |
parent | 53ba34391ff7b82dd143c7cce0d31bf56882d5ae (diff) | |
download | gem5-088a0565836fc678fabef3c8662de79595bf20c2.tar.xz |
Merge zizzer:/bk/newmem
into zeep.pool:/tmp/newmem
--HG--
extra : convert_revision : 8f173d3522e2e8847e51dfab48f35e34e6d3c1a7
Diffstat (limited to 'src/arch/alpha/intregfile.hh')
-rw-r--r-- | src/arch/alpha/intregfile.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/intregfile.hh b/src/arch/alpha/intregfile.hh index 0d65f69e0..dea160992 100644 --- a/src/arch/alpha/intregfile.hh +++ b/src/arch/alpha/intregfile.hh @@ -35,7 +35,7 @@ #include "arch/alpha/types.hh" #include <iostream> -#include <strings.h> +#include <cstring> class Checkpoint; @@ -71,7 +71,7 @@ namespace AlphaISA void unserialize(Checkpoint *cp, const std::string §ion); void clear() - { bzero(regs, sizeof(regs)); } + { std::memset(regs, 0, sizeof(regs)); } }; } |