lsq.hh (3846:a0fe3210ce53) | lsq.hh (4192:7accc6365bb9) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 286 unchanged lines hidden (view full) --- 295 public: 296 /** Default constructor. */ 297 DcachePort(LSQ *_lsq) 298 : lsq(_lsq) 299 { } 300 301 bool snoopRangeSent; 302 | 1/* 2 * Copyright (c) 2004-2006 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; --- 286 unchanged lines hidden (view full) --- 295 public: 296 /** Default constructor. */ 297 DcachePort(LSQ *_lsq) 298 : lsq(_lsq) 299 { } 300 301 bool snoopRangeSent; 302 |
303 virtual void setPeer(Port *port); 304 |
|
303 protected: 304 /** Atomic version of receive. Panics. */ 305 virtual Tick recvAtomic(PacketPtr pkt); 306 307 /** Functional version of receive. Panics. */ 308 virtual void recvFunctional(PacketPtr pkt); 309 310 /** Receives status change. Other than range changing, panics. */ --- 11 unchanged lines hidden (view full) --- 322 323 /** Handles doing a retry of the previous send. */ 324 virtual void recvRetry(); 325 }; 326 327 /** D-cache port. */ 328 DcachePort dcachePort; 329 | 305 protected: 306 /** Atomic version of receive. Panics. */ 307 virtual Tick recvAtomic(PacketPtr pkt); 308 309 /** Functional version of receive. Panics. */ 310 virtual void recvFunctional(PacketPtr pkt); 311 312 /** Receives status change. Other than range changing, panics. */ --- 11 unchanged lines hidden (view full) --- 324 325 /** Handles doing a retry of the previous send. */ 326 virtual void recvRetry(); 327 }; 328 329 /** D-cache port. */ 330 DcachePort dcachePort; 331 |
332#if FULL_SYSTEM 333 /** Tell the CPU to update the Phys and Virt ports. */ 334 void updateMemPorts() { cpu->updateMemPorts(); } 335#endif 336 |
|
330 protected: 331 /** The LSQ policy for SMT mode. */ 332 LSQPolicy lsqPolicy; 333 334 /** The LSQ units for individual threads. */ 335 LSQUnit thread[Impl::MaxThreads]; 336 337 /** The CPU pointer. */ --- 48 unchanged lines hidden --- | 337 protected: 338 /** The LSQ policy for SMT mode. */ 339 LSQPolicy lsqPolicy; 340 341 /** The LSQ units for individual threads. */ 342 LSQUnit thread[Impl::MaxThreads]; 343 344 /** The CPU pointer. */ --- 48 unchanged lines hidden --- |