process.cc (5758:9c3edb28db1a) process.cc (5771:f58d82cb8b7f)
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;

--- 186 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{
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;

--- 186 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;
203 typedef AuxVector<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

--- 261 unchanged lines hidden ---
204 std::vector<auxv_t> auxv;
205
206 Process::startup();
207
208 string filename;
209 if(argv.size() < 1)
210 filename = "";
211 else

--- 261 unchanged lines hidden ---