X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fio_device.hh;h=f49afc0a64dd3cca3f4f0bea9df3cee121739e12;hb=e9f3279334f714de7bbd1415377715cd00a763d5;hp=39e6fa4aa05cfa175f5189a2604516ffca33ceab;hpb=cc53465cd5b48183936278cda617be68a4520ff5;p=gem5.git diff --git a/dev/io_device.hh b/dev/io_device.hh index 39e6fa4aa..f49afc0a6 100644 --- a/dev/io_device.hh +++ b/dev/io_device.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2004 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,11 +34,13 @@ class BaseInterface; class Bus; class HierParams; +template class DMAInterface; class PioDevice : public FunctionalMemory { protected: BaseInterface *pioInterface; + Tick pioLatency; public: PioDevice(const std::string &name); @@ -48,7 +50,7 @@ class PioDevice : public FunctionalMemory class DmaDevice : public PioDevice { protected: - BaseInterface *dmaInterface; + DMAInterface *dmaInterface; public: DmaDevice(const std::string &name);