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 --- 18 unchanged lines hidden (view full) --- 27 * Authors: Gabe Black 28 */ 29 30#include <memory> 31#include <vector> 32 33#include "base/logging.hh" 34#include "systemc/core/module.hh" |
35#include "systemc/core/process_types.hh" |
36#include "systemc/ext/core/sc_module.hh" 37#include "systemc/ext/core/sc_module_name.hh" 38 39namespace sc_gem5 40{ 41 42Process * 43newMethodProcess(const char *name, ProcessFuncWrapper *func) --- 172 unchanged lines hidden (view full) --- 216{ 217 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 218} 219 220 221void 222sc_module::dont_initialize() 223{ |
224 ::sc_gem5::Process::newest()->dontInitialize(); |
225} 226 227void |
228sc_module::set_stack_size(size_t size) |
229{ |
230 ::sc_gem5::Process::newest()->setStackSize(size); |
231} 232 233 234void sc_module::next_trigger() { ::sc_core::next_trigger(); } 235 236void 237sc_module::next_trigger(const sc_event &e) 238{ --- 407 unchanged lines hidden --- |