X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fetherbus.hh;h=716636c796045b0d5eba33e9e0aedfa28ad1f003;hb=86836124ed272945e9d360c068728cd03917398d;hp=f64aa45e1d3da6f66b46ebb7a397a9ba86d22ad7;hpb=92638f9a657207ad6f0bc301597d9e1a3c1158e2;p=gem5.git diff --git a/dev/etherbus.hh b/dev/etherbus.hh index f64aa45e1..716636c79 100644 --- a/dev/etherbus.hh +++ b/dev/etherbus.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2002-2004 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -33,9 +33,9 @@ #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; @@ -73,7 +73,7 @@ class EtherBus : public SimObject 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__