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 --- 24 unchanged lines hidden (view full) --- 33#include <stack> 34 35#include "base/logging.hh" 36#include "systemc/core/event.hh" 37#include "systemc/core/module.hh" 38#include "systemc/core/scheduler.hh" 39#include "systemc/ext/core/messages.hh" 40#include "systemc/ext/core/sc_module.hh" |
41#include "systemc/ext/core/sc_simcontext.hh" |
42 43namespace sc_gem5 44{ 45 46namespace 47{ 48 49ObjectsIt --- 189 unchanged lines hidden (view full) --- 239Object::attr_cltn() const 240{ 241 return cltn; 242} 243 244sc_core::sc_simcontext * 245Object::simcontext() const 246{ |
247 return sc_core::sc_get_curr_simcontext(); |
248} 249 250EventsIt 251Object::addChildEvent(sc_core::sc_event *e) 252{ 253 return events.emplace(events.end(), e); 254} 255 --- 73 unchanged lines hidden --- |