diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-04-27 15:33:58 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-04-27 15:33:58 +0100 |
commit | 6d74892b38d48e48c4aa69ff9205ef32b222c974 (patch) | |
tree | df6c3ca7519616542ea29b7c8213b6fb0b86a07b /src/arch/arm/stacktrace.hh | |
parent | 67e93a5846dd05eff8a31990e3b18f4d9caf3496 (diff) | |
download | gem5-6d74892b38d48e48c4aa69ff9205ef32b222c974.tar.xz |
dev: Fix incorrect terminal backlog handling
The Terminal device currently uses the peek functionality in gem5's
circular buffer implementation to send existing buffered content on
the terminal when a new client attaches. This functionallity is
however not implemented correctly and re-sends the same block multiple
time.
Add the required functionality to peek with an offset into the
circular buffer and change the Terminal::accept() implementation to
send the buffered contents.
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Radhika Jagtap <radhika.jagtap@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/arch/arm/stacktrace.hh')
0 files changed, 0 insertions, 0 deletions