Deleted Added
sdiff udiff text old ( 3074:e87fbe7941f8 ) new ( 3091:dba513d68c16 )
full compact
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 238 unchanged lines hidden (view full) ---

247
248class FunctionalPort : public Port
249{
250 public:
251 FunctionalPort(const std::string &_name)
252 : Port(_name)
253 {}
254
255 virtual bool recvTiming(Packet *pkt) { panic("FuncPort is UniDir"); }
256 virtual Tick recvAtomic(Packet *pkt) { panic("FuncPort is UniDir"); }
257 virtual void recvFunctional(Packet *pkt) { panic("FuncPort is UniDir"); }
258 virtual void recvStatusChange(Status status) {}
259
260 /** a write function that also does an endian conversion. */
261 template <typename T>
262 inline void writeHtoG(Addr addr, T d);
263
264 /** a read function that also does an endian conversion. */
265 template <typename T>
266 inline T readGtoH(Addr addr);
267

--- 16 unchanged lines hidden ---