summaryrefslogtreecommitdiff
path: root/src/dev/x86/cmos.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-04-27 15:33:58 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-04-27 15:33:58 +0100
commit6d74892b38d48e48c4aa69ff9205ef32b222c974 (patch)
treedf6c3ca7519616542ea29b7c8213b6fb0b86a07b /src/dev/x86/cmos.hh
parent67e93a5846dd05eff8a31990e3b18f4d9caf3496 (diff)
downloadgem5-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/dev/x86/cmos.hh')
0 files changed, 0 insertions, 0 deletions