process.cc (10318:98771a936b61) | process.cc (10407:a9023811bf9e) |
---|---|
1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 236 unchanged lines hidden (view full) --- 245{ 246 if (contextIds.empty()) 247 fatal("Process %s is not associated with any HW contexts!\n", name()); 248 249 // first thread context for this process... initialize & enable 250 ThreadContext *tc = system->getThreadContext(contextIds[0]); 251 252 // mark this context as active so it will start ticking. | 1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2012 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 236 unchanged lines hidden (view full) --- 245{ 246 if (contextIds.empty()) 247 fatal("Process %s is not associated with any HW contexts!\n", name()); 248 249 // first thread context for this process... initialize & enable 250 ThreadContext *tc = system->getThreadContext(contextIds[0]); 251 252 // mark this context as active so it will start ticking. |
253 tc->activate(Cycles(0)); | 253 tc->activate(); |
254 255 pTable->initState(tc); 256} 257 258// map simulator fd sim_fd to target fd tgt_fd 259void 260Process::dup_fd(int sim_fd, int tgt_fd) 261{ --- 494 unchanged lines hidden --- | 254 255 pTable->initState(tc); 256} 257 258// map simulator fd sim_fd to target fd tgt_fd 259void 260Process::dup_fd(int sim_fd, int tgt_fd) 261{ --- 494 unchanged lines hidden --- |