diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-08-07 09:59:19 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-08-07 09:59:19 +0100 |
commit | 9b2426ecfc4f004fe77badb4cc64f93af3a2d0d3 (patch) | |
tree | 1371894c4c8b50a4bffdea877a9cbe15225df821 /src/base/refcnt.hh | |
parent | 39d8034475f09187bee91f90391db26bde287506 (diff) | |
download | gem5-9b2426ecfc4f004fe77badb4cc64f93af3a2d0d3.tar.xz |
base: Rewrite the CircleBuf to fix bugs and add serialization
The CircleBuf class has at least one bug causing it to overwrite the
wrong elements when wrapping. The current code has a lot of unused
functionality and duplicated code. This changeset replaces the old
implementation with a new version that supports serialization and
arbitrary types in the buffer (not just char).
Diffstat (limited to 'src/base/refcnt.hh')
0 files changed, 0 insertions, 0 deletions