process.cc (10298:77af86f37337) | process.cc (10299:bec0c5ffc323) |
---|---|
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 --- 92 unchanged lines hidden (view full) --- 101 102template struct AuxVector<uint32_t>; 103template struct AuxVector<uint64_t>; 104 105Process::Process(ProcessParams * params) 106 : SimObject(params), system(params->system), 107 max_stack_size(params->max_stack_size), 108 M5_pid(system->allocatePID()), | 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 --- 92 unchanged lines hidden (view full) --- 101 102template struct AuxVector<uint32_t>; 103template struct AuxVector<uint64_t>; 104 105Process::Process(ProcessParams * params) 106 : SimObject(params), system(params->system), 107 max_stack_size(params->max_stack_size), 108 M5_pid(system->allocatePID()), |
109 pTable(new FuncPageTable(name(), M5_pid)), | 109 useArchPT(params->useArchPT), 110 pTable(useArchPT ? 111 static_cast<PageTableBase *>(new ArchPageTable(name(), M5_pid, system)) : 112 static_cast<PageTableBase *>(new FuncPageTable(name(), M5_pid)) ), |
110 initVirtMem(system->getSystemPort(), this, 111 SETranslatingPortProxy::Always) 112{ 113 string in = params->input; 114 string out = params->output; 115 string err = params->errout; 116 117 // initialize file descriptors to default: same as simulator --- 635 unchanged lines hidden --- | 113 initVirtMem(system->getSystemPort(), this, 114 SETranslatingPortProxy::Always) 115{ 116 string in = params->input; 117 string out = params->output; 118 string err = params->errout; 119 120 // initialize file descriptors to default: same as simulator --- 635 unchanged lines hidden --- |