physical.hh (2632:1bb2f91485ea) | physical.hh (2640:266b80dd5eca) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 37 unchanged lines hidden (view full) --- 46class PhysicalMemory : public MemObject 47{ 48 class MemoryPort : public Port 49 { 50 PhysicalMemory *memory; 51 52 public: 53 | 1/* 2 * Copyright (c) 2001-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; --- 37 unchanged lines hidden (view full) --- 46class PhysicalMemory : public MemObject 47{ 48 class MemoryPort : public Port 49 { 50 PhysicalMemory *memory; 51 52 public: 53 |
54 MemoryPort(PhysicalMemory *_memory); | 54 MemoryPort(const std::string &_name, PhysicalMemory *_memory); |
55 56 protected: 57 58 virtual bool recvTiming(Packet *pkt); 59 60 virtual Tick recvAtomic(Packet *pkt); 61 62 virtual void recvFunctional(Packet *pkt); --- 65 unchanged lines hidden --- | 55 56 protected: 57 58 virtual bool recvTiming(Packet *pkt); 59 60 virtual Tick recvAtomic(Packet *pkt); 61 62 virtual void recvFunctional(Packet *pkt); --- 65 unchanged lines hidden --- |