1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * Copyright (c) 2007 The Hewlett-Packard Development Company 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 --- 87 unchanged lines hidden (view full) --- 96static const int NumArgumentRegs32 M5_VAR_USED = 97 sizeof(ArgumentReg) / sizeof(const int); 98 99X86Process::X86Process(ProcessParams *params, ObjectFile *objFile, 100 SyscallDesc *_syscallDescs, int _numSyscallDescs) 101 : Process(params, params->useArchPT ? 102 static_cast<PageTableBase *>( 103 new ArchPageTable(params->name, params->pid, |
104 params->system, PageBytes)) : |
105 static_cast<PageTableBase *>( |
106 new FuncPageTable(params->name, params->pid, 107 PageBytes)), |
108 objFile), 109 syscallDescs(_syscallDescs), numSyscallDescs(_numSyscallDescs) 110{ 111} 112 113void X86Process::clone(ThreadContext *old_tc, ThreadContext *new_tc, 114 Process *p, TheISA::IntReg flags) 115{ --- 1007 unchanged lines hidden --- |