process.cc (2665:a124942bacb8) process.cc (2680:246e7104f744)
1/*
2 * Copyright (c) 2003-2004 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;

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

30 */
31
32#include "arch/alpha/constants.hh"
33#include "arch/alpha/process.hh"
34#include "arch/alpha/linux/process.hh"
35#include "arch/alpha/tru64/process.hh"
36#include "base/loader/object_file.hh"
37#include "base/misc.hh"
1/*
2 * Copyright (c) 2003-2004 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;

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

30 */
31
32#include "arch/alpha/constants.hh"
33#include "arch/alpha/process.hh"
34#include "arch/alpha/linux/process.hh"
35#include "arch/alpha/tru64/process.hh"
36#include "base/loader/object_file.hh"
37#include "base/misc.hh"
38#include "cpu/exec_context.hh"
38#include "cpu/thread_context.hh"
39#include "sim/builder.hh"
40#include "sim/system.hh"
41
42
43using namespace AlphaISA;
44using namespace std;
45
46AlphaLiveProcess *

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

102
103}
104
105void
106AlphaLiveProcess::startup()
107{
108 argsInit(MachineBytes, VMPageSize);
109
39#include "sim/builder.hh"
40#include "sim/system.hh"
41
42
43using namespace AlphaISA;
44using namespace std;
45
46AlphaLiveProcess *

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

102
103}
104
105void
106AlphaLiveProcess::startup()
107{
108 argsInit(MachineBytes, VMPageSize);
109
110 execContexts[0]->setIntReg(GlobalPointerReg, objFile->globalPointer());
110 threadContexts[0]->setIntReg(GlobalPointerReg, objFile->globalPointer());
111}
112
113
114
115
116BEGIN_DECLARE_SIM_OBJECT_PARAMS(AlphaLiveProcess)
117
118 VectorParam<string> cmd;

--- 52 unchanged lines hidden ---
111}
112
113
114
115
116BEGIN_DECLARE_SIM_OBJECT_PARAMS(AlphaLiveProcess)
117
118 VectorParam<string> cmd;

--- 52 unchanged lines hidden ---