X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Ftsunami_io.hh;h=d507355c353135e04569266f37c94775911ecdf3;hb=f1f85c5470c67adc5071296c53e69abb0b47b09c;hp=e6a545689904a3710aa3492fb1c54aa691857f02;hpb=3f7b780af5530cc60228ebd3e895ab26d477614e;p=gem5.git diff --git a/dev/tsunami_io.hh b/dev/tsunami_io.hh index e6a545689..d507355c3 100644 --- a/dev/tsunami_io.hh +++ b/dev/tsunami_io.hh @@ -36,6 +36,7 @@ #include "dev/io_device.hh" #include "base/range.hh" #include "dev/tsunami.hh" +#include "sim/eventq.hh" /** How often the RTC interrupts */ static const int RTC_RATE = 1024; @@ -236,7 +237,8 @@ class TsunamiIO : public PioDevice * @param mmu pointer to the memory controller that sends us events. */ TsunamiIO(const std::string &name, Tsunami *t, time_t init_time, - Addr a, MemoryController *mmu, HierParams *hier, Bus *bus); + Addr a, MemoryController *mmu, HierParams *hier, Bus *bus, + Tick pio_latency); /** * Create the tm struct from seconds since 1970