summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
commit319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch)
tree49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/cpu
parentb44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff)
downloadgem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues with SWIG-generated code, the warning is only applied to non-SWIG code.
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/legiontrace.hh2
-rw-r--r--src/cpu/pc_event.hh5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/legiontrace.hh b/src/cpu/legiontrace.hh
index 24957e40a..84f83d87e 100644
--- a/src/cpu/legiontrace.hh
+++ b/src/cpu/legiontrace.hh
@@ -42,6 +42,8 @@ class ThreadContext;
namespace Trace {
+void setupSharedData();
+
class LegionTraceRecord : public InstRecord
{
public:
diff --git a/src/cpu/pc_event.hh b/src/cpu/pc_event.hh
index f26bbf3f2..c73fc3c5a 100644
--- a/src/cpu/pc_event.hh
+++ b/src/cpu/pc_event.hh
@@ -39,6 +39,7 @@
class ThreadContext;
class PCEventQueue;
+class System;
class PCEvent
{
@@ -141,4 +142,8 @@ class BreakPCEvent : public PCEvent
virtual void process(ThreadContext *tc);
};
+void sched_break_pc_sys(System *sys, Addr addr);
+
+void sched_break_pc(Addr addr);
+
#endif // __PC_EVENT_HH__