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 --- 56 unchanged lines hidden (view full) --- 65 current->file = file; 66 current->lineno = lineno; 67} 68 69 70sc_process_b * 71sc_get_curr_process_handle() 72{ |
73 return ::sc_gem5::scheduler.current(); |
74} 75 76 77sc_process_handle::sc_process_handle() : _gem5_process(nullptr) {} 78 79sc_process_handle::sc_process_handle(const sc_process_handle &handle) : 80 _gem5_process(handle._gem5_process) 81{ --- 260 unchanged lines hidden --- |