projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always initalize the size of a packet (forgotten on checkpoints
[gem5.git]
/
dev
/
etherbus.hh
diff --git
a/dev/etherbus.hh
b/dev/etherbus.hh
index f64aa45e1d3da6f66b46ebb7a397a9ba86d22ad7..716636c796045b0d5eba33e9e0aedfa28ad1f003 100644
(file)
--- a/
dev/etherbus.hh
+++ b/
dev/etherbus.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 200
3
The Regents of The University of Michigan
+ * Copyright (c) 200
2-2004
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
@@
-33,9
+33,9
@@
#ifndef __ETHERBUS_H__
#define __ETHERBUS_H__
#ifndef __ETHERBUS_H__
#define __ETHERBUS_H__
-#include "eventq.hh"
-#include "etherpkt.hh"
-#include "sim_object.hh"
+#include "
sim/
eventq.hh"
+#include "
dev/
etherpkt.hh"
+#include "sim
/sim
_object.hh"
class EtherDump;
class EtherInt;
class EtherDump;
class EtherInt;
@@
-73,7
+73,7
@@
class EtherBus : public SimObject
void txDone();
void reg(EtherInt *dev);
bool busy() const { return (bool)packet; }
void txDone();
void reg(EtherInt *dev);
bool busy() const { return (bool)packet; }
- bool send(EtherInt *sender, PacketPtr packet);
+ bool send(EtherInt *sender, PacketPtr
&
packet);
};
#endif // __ETHERBUS_H__
};
#endif // __ETHERBUS_H__