1/* 2 * Copyright (c) 2003-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 89 unchanged lines hidden (view full) --- 98#include "mem/page_table.hh" 99#include "mem/translating_port.hh" 100#include "sim/process_impl.hh" 101#include "sim/system.hh" 102 103using namespace std; 104using namespace X86ISA; 105 |
106 107X86LiveProcess::X86LiveProcess(LiveProcessParams * params, 108 ObjectFile *objFile) 109 : LiveProcess(params, objFile) 110{ 111 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 112 brk_point = roundUp(brk_point, VMPageSize); 113 --- 81 unchanged lines hidden (view full) --- 195 efer.ffxsr = 1; // Turn on fast fxsave and fxrstor. 196 tc->setMiscReg(MISCREG_EFER, efer); 197 } 198} 199 200void 201X86LiveProcess::argsInit(int intSize, int pageSize) 202{ |
203 typedef M5_auxv_t<uint64_t> auxv_t; 204 std::vector<auxv_t> auxv; 205 |
206 Process::startup(); 207 208 string filename; 209 if(argv.size() < 1) 210 filename = ""; 211 else 212 filename = argv[0]; 213 --- 259 unchanged lines hidden --- |