sim_object.cc (12334:e0ab29a34764) sim_object.cc (13781:280e5206fd97)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

128}
129
130ProbeManager *
131SimObject::getProbeManager()
132{
133 return probeManager;
134}
135
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

128}
129
130ProbeManager *
131SimObject::getProbeManager()
132{
133 return probeManager;
134}
135
136Port &
137SimObject::getPort(const std::string &if_name, PortID idx)
138{
139 fatal("%s does not have any port named %s\n", name(), if_name);
140}
141
136//
137// static function: serialize all SimObjects.
138//
139void
140SimObject::serializeAll(CheckpointOut &cp)
141{
142 SimObjectList::reverse_iterator ri = simObjectList.rbegin();
143 SimObjectList::reverse_iterator rend = simObjectList.rend();

--- 48 unchanged lines hidden ---
142//
143// static function: serialize all SimObjects.
144//
145void
146SimObject::serializeAll(CheckpointOut &cp)
147{
148 SimObjectList::reverse_iterator ri = simObjectList.rbegin();
149 SimObjectList::reverse_iterator rend = simObjectList.rend();

--- 48 unchanged lines hidden ---