diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-10 19:19:36 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 01:18:36 +0000 |
commit | 0f368d5ebdd4eeff9f475aed244677a4191df5d8 (patch) | |
tree | d8d1b5b7e7a675a20c74ac7c83321024d0bd7467 /src/systemc/utils | |
parent | 5c21437512235104821701920b59878c3afb8139 (diff) | |
download | gem5-0f368d5ebdd4eeff9f475aed244677a4191df5d8.tar.xz |
systemc: Get rid of leftovers from unimplemented warnings past.
These warnings were removed when the functionality they warned about
was implemented, but there were some leftovers like unnecessary
includes and some helper functions which hid gem5 specific headers
from the ext directory.
Change-Id: Ic886ac0f1264687524e3a7b7eaab8836f318a5a2
Reviewed-on: https://gem5-review.googlesource.com/c/13398
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/utils')
-rw-r--r-- | src/systemc/utils/SConscript | 1 | ||||
-rw-r--r-- | src/systemc/utils/sc_report_handler.cc | 2 | ||||
-rw-r--r-- | src/systemc/utils/sc_trace_file.cc | 1 | ||||
-rw-r--r-- | src/systemc/utils/tracefile.cc | 1 | ||||
-rw-r--r-- | src/systemc/utils/vcd.cc | 1 | ||||
-rw-r--r-- | src/systemc/utils/warn_unimpl.cc | 42 |
6 files changed, 1 insertions, 47 deletions
diff --git a/src/systemc/utils/SConscript b/src/systemc/utils/SConscript index f8de5b0c8..eae586fdc 100644 --- a/src/systemc/utils/SConscript +++ b/src/systemc/utils/SConscript @@ -37,4 +37,3 @@ if env['USE_SYSTEMC']: Source('sc_vector.cc') Source('tracefile.cc') Source('vcd.cc') - Source('warn_unimpl.cc') diff --git a/src/systemc/utils/sc_report_handler.cc b/src/systemc/utils/sc_report_handler.cc index a2b915ed1..ad0d3b84e 100644 --- a/src/systemc/utils/sc_report_handler.cc +++ b/src/systemc/utils/sc_report_handler.cc @@ -32,7 +32,7 @@ #include <sstream> #include <string> -#include "base/logging.hh" +#include "base/cprintf.hh" #include "systemc/core/process.hh" #include "systemc/core/scheduler.hh" #include "systemc/ext/core/sc_main.hh" diff --git a/src/systemc/utils/sc_trace_file.cc b/src/systemc/utils/sc_trace_file.cc index cc9ceef37..194dd2ad6 100644 --- a/src/systemc/utils/sc_trace_file.cc +++ b/src/systemc/utils/sc_trace_file.cc @@ -29,7 +29,6 @@ #include <vector> -#include "base/logging.hh" #include "systemc/core/scheduler.hh" #include "systemc/ext/channel/sc_signal_in_if.hh" #include "systemc/ext/core/sc_event.hh" diff --git a/src/systemc/utils/tracefile.cc b/src/systemc/utils/tracefile.cc index cf771463b..8cdd0bdd4 100644 --- a/src/systemc/utils/tracefile.cc +++ b/src/systemc/utils/tracefile.cc @@ -32,7 +32,6 @@ #include <ctime> #include <iomanip> -#include "base/logging.hh" #include "base/output.hh" #include "sim/core.hh" #include "systemc/core/time.hh" diff --git a/src/systemc/utils/vcd.cc b/src/systemc/utils/vcd.cc index 83e6b50e8..ff9290701 100644 --- a/src/systemc/utils/vcd.cc +++ b/src/systemc/utils/vcd.cc @@ -34,7 +34,6 @@ #include "base/bitfield.hh" #include "base/cprintf.hh" -#include "base/logging.hh" #include "systemc/core/scheduler.hh" #include "systemc/ext/core/sc_event.hh" #include "systemc/ext/core/sc_main.hh" diff --git a/src/systemc/utils/warn_unimpl.cc b/src/systemc/utils/warn_unimpl.cc deleted file mode 100644 index f96e60487..000000000 --- a/src/systemc/utils/warn_unimpl.cc +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2018 Google, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer; - * redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution; - * neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Authors: Gabe Black - */ - -#include "base/logging.hh" -#include "systemc/ext/utils/warn_unimpl.hh" - -namespace sc_core -{ - -void -sc_utils_warn_unimpl(const char *func) -{ - warn("%s not implemented.\n", func); -} - -} // namespace sc_core |