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 protected: |
256 virtual bool recvTiming(Packet *pkt) { panic("FuncPort is UniDir"); } 257 virtual Tick recvAtomic(Packet *pkt) { panic("FuncPort is UniDir"); } 258 virtual void recvFunctional(Packet *pkt) { panic("FuncPort is UniDir"); } 259 virtual void recvStatusChange(Status status) {} 260 |
261 public: |
262 /** a write function that also does an endian conversion. */ 263 template <typename T> 264 inline void writeHtoG(Addr addr, T d); 265 266 /** a read function that also does an endian conversion. */ 267 template <typename T> 268 inline T readGtoH(Addr addr); 269 --- 16 unchanged lines hidden --- |