system.hh (3536:89aa06409e4d) system.hh (3960:1dca397b2bab)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

50
51class BaseCPU;
52class ThreadContext;
53class ObjectFile;
54class PhysicalMemory;
55
56#if FULL_SYSTEM
57class Platform;
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

50
51class BaseCPU;
52class ThreadContext;
53class ObjectFile;
54class PhysicalMemory;
55
56#if FULL_SYSTEM
57class Platform;
58#endif
58class GDBListener;
59namespace TheISA
60{
61 class RemoteGDB;
62}
59class GDBListener;
60namespace TheISA
61{
62 class RemoteGDB;
63}
63#endif
64
65class System : public SimObject
66{
67 public:
68
69 static const char *MemoryModeStrings[3];
70
71 SimObject::MemoryMode getMemoryMode() { assert(memoryMode); return memoryMode; }

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

154 template <class T>
155 T *addKernelFuncEvent(const char *lbl)
156 {
157 return addFuncEvent<T>(kernelSymtab, lbl);
158 }
159
160#endif
161 public:
64
65class System : public SimObject
66{
67 public:
68
69 static const char *MemoryModeStrings[3];
70
71 SimObject::MemoryMode getMemoryMode() { assert(memoryMode); return memoryMode; }

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

154 template <class T>
155 T *addKernelFuncEvent(const char *lbl)
156 {
157 return addFuncEvent<T>(kernelSymtab, lbl);
158 }
159
160#endif
161 public:
162#if FULL_SYSTEM
163 std::vector<TheISA::RemoteGDB *> remoteGDB;
164 std::vector<GDBListener *> gdbListen;
162 std::vector<TheISA::RemoteGDB *> remoteGDB;
163 std::vector<GDBListener *> gdbListen;
165 virtual bool breakpoint() = 0;
166#endif // FULL_SYSTEM
164 bool breakpoint();
167
168 public:
169 struct Params
170 {
171 std::string name;
172 PhysicalMemory *physmem;
173 SimObject::MemoryMode mem_mode;
174

--- 71 unchanged lines hidden ---
165
166 public:
167 struct Params
168 {
169 std::string name;
170 PhysicalMemory *physmem;
171 SimObject::MemoryMode mem_mode;
172

--- 71 unchanged lines hidden ---