Andreas Sandberg
6d74892b38
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 >
2016-04-27 15:33:58 +01:00
..
2016-03-17 10:34:27 -07:00
2015-11-27 14:41:59 +00:00
2015-11-27 14:41:59 +00:00
2013-01-07 13:05:38 -05:00
2015-05-26 03:21:40 -04:00
2009-06-04 23:21:12 -07:00
2016-02-06 17:21:19 -08:00
2013-11-25 11:21:00 -06:00
2009-11-04 16:57:01 -08:00
2014-11-24 09:03:38 -05:00
2014-11-14 03:53:51 -05:00
2015-05-23 13:37:03 +01:00
2015-05-23 13:37:03 +01:00
2016-01-11 05:52:20 -05:00
2012-03-19 06:36:09 -04:00
2010-04-18 13:23:25 -07:00
2008-11-10 11:51:17 -08:00
2015-04-22 07:51:27 -07:00
2016-04-27 15:33:58 +01:00
2015-10-12 04:07:59 -04:00
2007-09-25 20:26:10 -07:00
2016-02-06 17:21:19 -08:00
2016-02-06 17:21:18 -08:00
2012-11-02 11:32:01 -05:00
2014-09-19 10:35:09 -04:00
2012-11-02 11:32:00 -05:00
2016-02-06 17:21:18 -08:00
2015-09-30 15:21:55 -05:00
2015-09-30 15:21:55 -05:00
2016-02-06 17:21:19 -08:00
2007-04-21 17:50:47 -04:00
2016-02-06 17:21:18 -08:00
2015-07-07 09:51:04 +01:00
2015-10-12 04:07:59 -04:00
2013-02-19 05:56:07 -05:00
2013-02-19 05:56:07 -05:00
2016-02-06 17:21:18 -08:00
2016-02-06 17:21:18 -08:00
2014-09-20 17:17:47 -04:00
2015-10-12 04:07:59 -04:00
2014-08-26 10:14:32 -04:00
2014-05-31 18:00:23 -07:00
2014-08-26 10:13:45 -04:00
2015-06-21 20:52:13 +01:00
2015-11-27 14:41:59 +00:00
2015-11-27 14:41:59 +00:00
2015-07-07 09:51:03 +01:00
2015-10-12 04:07:59 -04:00
2008-01-02 13:46:22 -08:00
2015-07-07 09:51:03 +01:00
2015-10-12 04:07:59 -04:00
2011-04-13 09:32:19 -07:00
2015-12-18 15:12:07 -06:00
2015-12-18 15:12:07 -06:00
2015-08-07 09:59:19 +01:00
2014-09-27 09:08:29 -04:00
2008-08-03 18:19:55 -07:00
2016-02-06 17:21:19 -08:00
2014-10-20 18:03:54 -04:00
2012-01-31 12:05:52 -05:00
2014-09-20 17:17:49 -04:00
2014-09-20 17:17:49 -04:00
2015-07-07 09:51:03 +01:00
2015-07-07 09:51:03 +01:00
2015-09-30 15:21:55 -05:00
2015-10-12 04:07:59 -04:00
2012-04-22 05:20:44 -07:00
2013-02-10 21:26:24 -06:00
2016-01-19 13:57:50 -05:00