process.cc (10499:4e715fe2abbd) | process.cc (10554:fe2e2f06a7c8) |
---|---|
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 --- 93 unchanged lines hidden (view full) --- 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 useArchPT(params->useArchPT), | 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 --- 93 unchanged lines hidden (view full) --- 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 useArchPT(params->useArchPT), |
110 kvmInSE(params->kvmInSE), |
|
110 pTable(useArchPT ? 111 static_cast<PageTableBase *>(new ArchPageTable(name(), M5_pid, system)) : 112 static_cast<PageTableBase *>(new FuncPageTable(name(), M5_pid)) ), 113 initVirtMem(system->getSystemPort(), this, 114 SETranslatingPortProxy::Always) 115{ 116 string in = params->input; 117 string out = params->output; --- 650 unchanged lines hidden --- | 111 pTable(useArchPT ? 112 static_cast<PageTableBase *>(new ArchPageTable(name(), M5_pid, system)) : 113 static_cast<PageTableBase *>(new FuncPageTable(name(), M5_pid)) ), 114 initVirtMem(system->getSystemPort(), this, 115 SETranslatingPortProxy::Always) 116{ 117 string in = params->input; 118 string out = params->output; --- 650 unchanged lines hidden --- |