process.cc (12448:b299e560f1d8) process.cc (12456:9d042ae9dd5b)
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<EmulationPageTable *>(
103 new ArchPageTable(params->name, params->pid,
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<EmulationPageTable *>(
103 new ArchPageTable(params->name, params->pid,
104 params->system, PageBytes)) :
104 params->system, PageBytes,
105 PageTableLayout)) :
105 new EmulationPageTable(params->name, params->pid,
106 PageBytes),
107 objFile),
108 syscallDescs(_syscallDescs), numSyscallDescs(_numSyscallDescs)
109{
110}
111
112void X86Process::clone(ThreadContext *old_tc, ThreadContext *new_tc,

--- 1009 unchanged lines hidden ---
106 new EmulationPageTable(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,

--- 1009 unchanged lines hidden ---