atomic.hh (4870:fcc39d001154) | atomic.hh (4968:f1c856d8c460) |
---|---|
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; --- 107 unchanged lines hidden (view full) --- 116 DcachePort(const std::string &_name, AtomicSimpleCPU *_cpu) 117 : CpuPort(_name, _cpu) 118 { } 119 120 virtual void setPeer(Port *port); 121 }; 122 DcachePort dcachePort; 123 | 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; --- 107 unchanged lines hidden (view full) --- 116 DcachePort(const std::string &_name, AtomicSimpleCPU *_cpu) 117 : CpuPort(_name, _cpu) 118 { } 119 120 virtual void setPeer(Port *port); 121 }; 122 DcachePort dcachePort; 123 |
124 CpuPort physmemPort; 125 bool hasPhysMemPort; |
|
124 Request ifetch_req; 125 Request data_read_req; 126 Request data_write_req; 127 128 bool dcache_access; 129 Tick dcache_latency; 130 | 126 Request ifetch_req; 127 Request data_read_req; 128 Request data_write_req; 129 130 bool dcache_access; 131 Tick dcache_latency; 132 |
133 Range<Addr> physMemAddr; 134 |
|
131 public: 132 133 virtual Port *getPort(const std::string &if_name, int idx = -1); 134 135 virtual void serialize(std::ostream &os); 136 virtual void unserialize(Checkpoint *cp, const std::string §ion); 137 virtual void resume(); 138 --- 14 unchanged lines hidden --- | 135 public: 136 137 virtual Port *getPort(const std::string &if_name, int idx = -1); 138 139 virtual void serialize(std::ostream &os); 140 virtual void unserialize(Checkpoint *cp, const std::string §ion); 141 virtual void resume(); 142 --- 14 unchanged lines hidden --- |