Deleted Added
sdiff udiff text old ( 13335:299a16ef8e3c ) new ( 13518:6168e030b4c7 )
full compact
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

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

72{
73 objIndex++;
74 if (::sc_gem5::allObjects.size() > objIndex)
75 return ::sc_gem5::allObjects[objIndex];
76 else
77 return nullptr;
78}
79
80sc_simcontext *
81sc_get_curr_simcontext()
82{
83 return &currContext;
84}
85
86} // namespace sc_core