34c34,35
< #include "sim/microcode_rom.hh"
---
> #include "arch/x86/emulenv.hh"
> #include "cpu/static_inst.hh"
35a37,68
> namespace X86ISAInst
> {
> class MicrocodeRom
> {
> protected:
>
> typedef StaticInstPtr (*GenFunc)(StaticInstPtr);
>
> static const MicroPC numMicroops;
>
> GenFunc * genFuncs;
>
> public:
> //Constructor.
> MicrocodeRom();
>
> //Destructor.
> ~MicrocodeRom()
> {
> delete [] genFuncs;
> }
>
> StaticInstPtr
> fetchMicroop(MicroPC microPC, StaticInstPtr curMacroop)
> {
> microPC = normalMicroPC(microPC);
> assert(microPC < numMicroops);
> return genFuncs[microPC](curMacroop);
> }
> };
> }
>
38c71
< using ::MicrocodeRom;
---
> using X86ISAInst::MicrocodeRom;