#ifndef __STD_TYPES_HH__
#define __STD_TYPES_HH__
+#include <stdint.h>
+
// inst sequence type, used to order instructions in the ready list,
// if this rolls over the ready list order temporarily will get messed
// up, but execution will continue and complete correctly
physmem(system->physmem),
mem(params->mem),
#else
- pTable(params->pTable),
+// pTable(params->pTable),
#endif // FULL_SYSTEM
icacheInterface(params->icacheInterface),
// Setup the page table for whichever stages need it.
#if !FULL_SYSTEM
- fetch.setPageTable(pTable);
- iew.setPageTable(pTable);
+// fetch.setPageTable(pTable);
+// iew.setPageTable(pTable);
#endif
// Setup the ROB for whichever stages need it.
void
FullO3CPU<Impl>::removeFrontInst(DynInstPtr &inst)
{
- unsigned tid = inst->threadNumber;
-
DPRINTF(FullCPU, "FullCPU: Removing committed instruction [tid:%i] PC %#x "
"[sn:%lli]\n",
- tid, inst->readPC(), inst->seqNum);
+ inst->threadNumber, inst->readPC(), inst->seqNum);
removeInstsThisCycle = true;
SimObjectParam<AlphaDTB *> dtb;
#else
SimObjectVectorParam<Process *> workload;
-SimObjectParam<PageTable *> page_table;
+//SimObjectParam<PageTable *> page_table;
#endif // FULL_SYSTEM
SimObjectParam<FunctionalMemory *> mem;
INIT_PARAM(dtb, "Data translation buffer"),
#else
INIT_PARAM(workload, "Processes to run"),
- INIT_PARAM(page_table, "Page table"),
+// INIT_PARAM(page_table, "Page table"),
#endif // FULL_SYSTEM
INIT_PARAM_DFLT(mem, "Memory", NULL),
params->dtb = dtb;
#else
params->workload = workload;
- params->pTable = page_table;
+// params->pTable = page_table;
#endif // FULL_SYSTEM
params->mem = mem;
SimObjectParam<AlphaDTB *> dtb;
#else
SimObjectVectorParam<Process *> workload;
-SimObjectParam<PageTable *> page_table;
+//SimObjectParam<PageTable *> page_table;
#endif // FULL_SYSTEM
SimObjectParam<FunctionalMemory *> mem;
INIT_PARAM(dtb, "Data translation buffer"),
#else
INIT_PARAM(workload, "Processes to run"),
- INIT_PARAM(page_table, "Page table"),
+// INIT_PARAM(page_table, "Page table"),
#endif // FULL_SYSTEM
INIT_PARAM_DFLT(mem, "Memory", NULL),
params->dtb = dtb;
#else
params->workload = workload;
- params->pTable = page_table;
+// params->pTable = page_table;
#endif // FULL_SYSTEM
params->mem = mem;
#include "arch/isa_traits.hh"
#include "cpu/exec_context.hh"
#include "cpu/thread_state.hh"
+#include "sim/process.hh"
class Event;
-class Process;
+//class Process;
#if FULL_SYSTEM
class EndQuiesceEvent;
}
#else
OzoneThreadState(FullCPU *_cpu, int _thread_num, Process *_process, int _asid)
- : ThreadState(-1, _thread_num, NULL, _process, _asid),
+ : ThreadState(-1, _thread_num, _process->getMemory(), _process, _asid),
cpu(_cpu), inSyscall(0), trapPending(0)
{
memset(®s, 0, sizeof(TheISA::RegFile));