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 --- 324 unchanged lines hidden (view full) --- 333{ 334 ::sc_gem5::newReset(&signal, ::sc_gem5::Process::newest(), false, val); 335} 336 337 338void 339sc_module::dont_initialize() 340{ |
341 ::sc_gem5::Process *p = ::sc_gem5::Process::newest(); 342 if (p->procKind() == SC_CTHREAD_PROC_) { 343 SC_REPORT_WARNING("(W524) dont_initialize() has no effect for " 344 "SC_CTHREADs", ""); 345 } 346 p->dontInitialize(true); |
347} 348 349void 350sc_module::set_stack_size(size_t size) 351{ 352 ::sc_gem5::Process::newest()->setStackSize(size); 353} 354 --- 518 unchanged lines hidden --- |