systemc: Remove boost dependency caused by tlm
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Wed, 6 Nov 2019 23:43:18 +0000 (15:43 -0800)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Thu, 7 Nov 2019 05:01:20 +0000 (05:01 +0000)
This commit replaces the tlm header file, which caused the boost
dependency.

Change-Id: Ie4b1af71202522d8139e9a861144863097188072
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22624
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/systemc/tlm_bridge/sc_peq.hh

index 386142b725e314d99fa34439313aa05ae3f5e4e7..dc0b92b9bbf64a1b79145b08eb842f875a503e6a 100644 (file)
@@ -37,8 +37,7 @@
 #ifndef PAYLOAD_EVENT_H_
 #define PAYLOAD_EVENT_H_
 
-// TLM includes
-#include <tlm.h>
+#include "systemc/ext/core/sc_main.hh"
 
 // gem5 includes
 #include <sim/eventq.hh>