process.cc (12456:9d042ae9dd5b) process.cc (12457:b9b7bdb5a8ac)
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

--- 86 unchanged lines hidden (view full) ---

95
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 *>(
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

--- 86 unchanged lines hidden (view full) ---

95
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,
105 PageTableLayout)) :
103 new ArchPageTable(
104 params->name, params->pid,
105 params->system, PageBytes,
106 PageTableLayout,
107 pageTablePhysAddr >> PageShift)) :
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 ---
108 new EmulationPageTable(params->name, params->pid,
109 PageBytes),
110 objFile),
111 syscallDescs(_syscallDescs), numSyscallDescs(_numSyscallDescs)
112{
113}
114
115void X86Process::clone(ThreadContext *old_tc, ThreadContext *new_tc,

--- 1009 unchanged lines hidden ---