projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the capability to iterate through the packets in a pktfifo,
[gem5.git]
/
dev
/
io_device.cc
diff --git
a/dev/io_device.cc
b/dev/io_device.cc
index b39efa1f587b56052b2a6d7da1de49b5c1f61d73..6ab876ab86a3b00882b884f6cd70746462201507 100644
(file)
--- a/
dev/io_device.cc
+++ b/
dev/io_device.cc
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2004 The Regents of The University of Michigan
+ * Copyright (c) 2004
-2005
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-31,8
+31,8
@@
#include "mem/bus/dma_interface.hh"
#include "sim/builder.hh"
#include "mem/bus/dma_interface.hh"
#include "sim/builder.hh"
-PioDevice::PioDevice(const std::string &name)
- : FunctionalMemory(name), p
ioInterface(NULL
)
+PioDevice::PioDevice(const std::string &name
, Platform *p
)
+ : FunctionalMemory(name), p
latform(p), pioInterface(NULL), pioLatency(0
)
{}
PioDevice::~PioDevice()
{}
PioDevice::~PioDevice()
@@
-43,8
+43,8
@@
PioDevice::~PioDevice()
DEFINE_SIM_OBJECT_CLASS_NAME("PioDevice", PioDevice)
DEFINE_SIM_OBJECT_CLASS_NAME("PioDevice", PioDevice)
-DmaDevice::DmaDevice(const std::string &name)
- : PioDevice(name), dmaInterface(NULL)
+DmaDevice::DmaDevice(const std::string &name
, Platform *p
)
+ : PioDevice(name
, p
), dmaInterface(NULL)
{}
DmaDevice::~DmaDevice()
{}
DmaDevice::~DmaDevice()