Deleted Added
sdiff udiff text old ( 2716:b9114064d77a ) new ( 2901:f9a45473ab55 )
full compact
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;

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

56class Platform;
57class GDBListener;
58class RemoteGDB;
59#endif
60
61class System : public SimObject
62{
63 public:
64 PhysicalMemory *physmem;
65 PCEventQueue pcEventQueue;
66
67 std::vector<ThreadContext *> threadContexts;
68 int numcpus;
69
70 int getNumCPUs()
71 {

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

103
104 int page_ptr;
105
106
107#endif // FULL_SYSTEM
108
109 protected:
110
111#if FULL_SYSTEM
112 /**
113 * Fix up an address used to match PCs for hooking simulator
114 * events on to target function executions. See comment in
115 * system.cc for details.
116 */
117 virtual Addr fixFuncEventAddr(Addr addr) = 0;
118

--- 108 unchanged lines hidden ---