43 lines
806 B
Text
43 lines
806 B
Text
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Output include file directives.
|
|
//
|
|
|
|
output header {{
|
|
#include <sstream>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
|
|
#include "cpu/static_inst.hh"
|
|
#include "arch/sparc/faults.hh"
|
|
#include "mem/request.hh" // some constructors use MemReq flags
|
|
#include "arch/sparc/isa_traits.hh"
|
|
}};
|
|
|
|
output decoder {{
|
|
#include "base/cprintf.hh"
|
|
#include "base/loader/symtab.hh"
|
|
#include "cpu/exec_context.hh" // for Jump::branchTarget()
|
|
|
|
#include <math.h>
|
|
#if defined(linux)
|
|
#include <fenv.h>
|
|
#endif
|
|
|
|
using namespace SparcISA;
|
|
}};
|
|
|
|
output exec {{
|
|
#include <math.h>
|
|
#if defined(linux)
|
|
#include <fenv.h>
|
|
#endif
|
|
|
|
#ifdef FULL_SYSTEM
|
|
//#include "sim/pseudo_inst.hh"
|
|
#endif
|
|
#include "cpu/base.hh"
|
|
#include "cpu/exetrace.hh"
|
|
#include "sim/sim_exit.hh"
|
|
}};
|
|
|