atomic.hh (8737:770ccf3af571) | atomic.hh (8850:ed91b534ed04) |
---|---|
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; --- 87 unchanged lines hidden (view full) --- 96 Request data_read_req; 97 Request data_write_req; 98 99 bool dcache_access; 100 Tick dcache_latency; 101 102 Range<Addr> physMemAddr; 103 | 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; --- 87 unchanged lines hidden (view full) --- 96 Request data_read_req; 97 Request data_write_req; 98 99 bool dcache_access; 100 Tick dcache_latency; 101 102 Range<Addr> physMemAddr; 103 |
104 protected: 105 106 /** Return a reference to the data port. */ 107 virtual CpuPort &getDataPort() { return dcachePort; } 108 109 /** Return a reference to the instruction port. */ 110 virtual CpuPort &getInstPort() { return icachePort; } 111 |
|
104 public: 105 | 112 public: 113 |
114 /** 115 * Override the getPort of the BaseCPU so that we can provide a pointer 116 * to the physmemPort, unique to the Atomic CPU. 117 */ |
|
106 virtual Port *getPort(const std::string &if_name, int idx = -1); 107 108 virtual void serialize(std::ostream &os); 109 virtual void unserialize(Checkpoint *cp, const std::string §ion); 110 virtual void resume(); 111 112 void switchOut(); 113 void takeOverFrom(BaseCPU *oldCPU); --- 17 unchanged lines hidden --- | 118 virtual Port *getPort(const std::string &if_name, int idx = -1); 119 120 virtual void serialize(std::ostream &os); 121 virtual void unserialize(Checkpoint *cp, const std::string §ion); 122 virtual void resume(); 123 124 void switchOut(); 125 void takeOverFrom(BaseCPU *oldCPU); --- 17 unchanged lines hidden --- |