34a35,44
> // Per-cpu-model nop execute method.
> def template NopExec {{
>
> Fault execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
> {
> // Nothing to see here, move along
> return NoFault;
> }
> }};
>
49,56c59,63
< // defined here. Nops can be defined directly, so there needs
< // to be a default implementation
< Fault execute(%(CPU_exec_context)s *xc,
< Trace::InstRecord *traceData) const
< {
< //Nothing to see here, move along
< return NoFault;
< }
---
> // defined here. Nops can be defined directly, so there
> // needs to be a default implementation. Interpolate via
> // template so i gets expanded to a set of
> // cpu-model-specific functions.
> %(NopExec)s