systemc: Add a range check to the intial value of sc_semaphore.
authorGabe Black <gabeblack@google.com>
Fri, 5 Oct 2018 23:12:11 +0000 (16:12 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:58:23 +0000 (00:58 +0000)
commit1f4e37911934a90088a8c68dc981ed6cc1be7b9c
treec35a06945bc7f707ef97227dcd5b376b37c6d6c4
parent3287171e087ecfe6d22a86703aab29a2bbd3519a
systemc: Add a range check to the intial value of sc_semaphore.

Change-Id: I4e1ef90b14074e5a2794a4386e411397213b2789
Reviewed-on: https://gem5-review.googlesource.com/c/13304
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/channel/sc_semaphore.cc