45c45
< #include "sim/builder.hh"
---
> #include "params/Tsunami.hh"
117,131c117,118
< BEGIN_DECLARE_SIM_OBJECT_PARAMS(Tsunami)
<
< SimObjectParam<System *> system;
< SimObjectParam<IntrControl *> intrctrl;
<
< END_DECLARE_SIM_OBJECT_PARAMS(Tsunami)
<
< BEGIN_INIT_SIM_OBJECT_PARAMS(Tsunami)
<
< INIT_PARAM(system, "system"),
< INIT_PARAM(intrctrl, "interrupt controller")
<
< END_INIT_SIM_OBJECT_PARAMS(Tsunami)
<
< CREATE_SIM_OBJECT(Tsunami)
---
> Tsunami *
> TsunamiParams::create()
133c120
< return new Tsunami(getInstanceName(), system, intrctrl);
---
> return new Tsunami(name, system, intrctrl);
135,136d121
<
< REGISTER_SIM_OBJECT("Tsunami", Tsunami)