2006-01-29 23:25:54 +01:00
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Output include file directives.
|
|
|
|
//
|
|
|
|
|
|
|
|
output header {{
|
|
|
|
#include <sstream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iomanip>
|
|
|
|
|
|
|
|
#include "cpu/static_inst.hh"
|
2006-03-07 10:33:10 +01:00
|
|
|
#include "arch/sparc/faults.hh"
|
2006-03-14 21:59:19 +01:00
|
|
|
#include "mem/request.hh" // some constructors use MemReq flags
|
2006-03-07 10:33:10 +01:00
|
|
|
#include "arch/sparc/isa_traits.hh"
|
2006-01-29 23:25:54 +01:00
|
|
|
}};
|
|
|
|
|
|
|
|
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
|
2006-03-07 10:33:10 +01:00
|
|
|
|
|
|
|
using namespace SparcISA;
|
2006-01-29 23:25:54 +01:00
|
|
|
}};
|
|
|
|
|
|
|
|
output exec {{
|
|
|
|
#include <math.h>
|
|
|
|
#if defined(linux)
|
|
|
|
#include <fenv.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FULL_SYSTEM
|
2006-03-14 21:59:19 +01:00
|
|
|
//#include "sim/pseudo_inst.hh"
|
2006-01-29 23:25:54 +01:00
|
|
|
#endif
|
|
|
|
#include "cpu/base.hh"
|
|
|
|
#include "cpu/exetrace.hh"
|
|
|
|
#include "sim/sim_exit.hh"
|
|
|
|
}};
|
|
|
|
|