Review Board 2.0.15


slicc: Support for setting individual message buffer size

Review Request #2801 - Created May 11, 2015 and updated - Latest diff uploaded

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 10830:15f1c291f866
---------------------------
slicc: Support for setting individual message buffer size

This patch adds support for setting per-MessageBuffer buffer sizes. Prior to
this patch, all buffers used the same size that was set globally. This patch
also adds a "kill switch" that turns all buffers back into infinite
buffers. The configuration will print warnings when either the kill switch is
on and an attempt is made to set a finite buffer size or the kill switch is
off and there is an attempt to set an inifinite buffer size.

The global buffer size variable still exists, and is now turned into a default
value if no more specific value is set (such as internal buffers created by
switches).