Searched hist:11460 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/base/
H A Dcirclebuf.hh11460:b49763e919c8 Wed Apr 27 10:33:00 EDT 2016 Andreas Sandberg <andreas.sandberg@arm.com> 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>

Completed in 6 milliseconds