1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_UTILS_REPORT_HH__
31#define __SYSTEMC_UTILS_REPORT_HH__
32
33#include <initializer_list>
34#include <map>
35#include <memory>
36#include <string>
37#include <utility>
38
39#include "systemc/ext/utils/sc_report.hh"
40#include "systemc/ext/utils/sc_report_handler.hh"
41
42namespace sc_gem5
43{
44
45struct ReportMsgInfo

--- 57 unchanged lines hidden (view full) ---

103extern sc_core::sc_actions reportCatchActions;
104
105extern sc_core::sc_report_handler_proc reportHandlerProc;
106
107extern std::unique_ptr<sc_core::sc_report> globalReportCache;
108
109extern bool reportWarningsAsErrors;
110
111struct DefaultReportMessages
112{
113 public:
114 DefaultReportMessages(std::initializer_list<std::pair<int, const char *>>);
115};
116
117} // namespace sc_gem5
118
119#endif // __SYSTEMC_UTILS_REPORT_HH__