fetch.hh (5529:9ae69b9cd7fd) | fetch.hh (5606:6da7a58b0bc8) |
---|---|
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; --- 68 unchanged lines hidden (view full) --- 77 { 78 protected: 79 /** Pointer to fetch. */ 80 DefaultFetch<Impl> *fetch; 81 82 public: 83 /** Default constructor. */ 84 IcachePort(DefaultFetch<Impl> *_fetch) | 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; --- 68 unchanged lines hidden (view full) --- 77 { 78 protected: 79 /** Pointer to fetch. */ 80 DefaultFetch<Impl> *fetch; 81 82 public: 83 /** Default constructor. */ 84 IcachePort(DefaultFetch<Impl> *_fetch) |
85 : Port(_fetch->name() + "-iport"), fetch(_fetch) | 85 : Port(_fetch->name() + "-iport", _fetch->cpu), fetch(_fetch) |
86 { } 87 88 bool snoopRangeSent; 89 90 virtual void setPeer(Port *port); 91 92 protected: 93 /** Atomic version of receive. Panics. */ --- 393 unchanged lines hidden --- | 86 { } 87 88 bool snoopRangeSent; 89 90 virtual void setPeer(Port *port); 91 92 protected: 93 /** Atomic version of receive. Panics. */ --- 393 unchanged lines hidden --- |