physical.hh (6227:a17798f2a52c) | physical.hh (7730:982b4c6c1470) |
---|---|
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; --- 135 unchanged lines hidden (view full) --- 144 145 uint8_t *pmemAddr; 146 int pagePtr; 147 Tick lat; 148 Tick lat_var; 149 std::vector<MemoryPort*> ports; 150 typedef std::vector<MemoryPort*>::iterator PortIterator; 151 | 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; --- 135 unchanged lines hidden (view full) --- 144 145 uint8_t *pmemAddr; 146 int pagePtr; 147 Tick lat; 148 Tick lat_var; 149 std::vector<MemoryPort*> ports; 150 typedef std::vector<MemoryPort*>::iterator PortIterator; 151 |
152 uint64_t cachedSize; 153 uint64_t cachedStart; | 152 uint64_t _size; 153 uint64_t _start; |
154 public: 155 Addr new_page(); | 154 public: 155 Addr new_page(); |
156 uint64_t size() { return cachedSize; } 157 uint64_t start() { return cachedStart; } | 156 uint64_t size() { return _size; } 157 uint64_t start() { return _start; } |
158 159 public: 160 typedef PhysicalMemoryParams Params; 161 PhysicalMemory(const Params *p); 162 virtual ~PhysicalMemory(); 163 164 const Params * 165 params() const --- 24 unchanged lines hidden --- | 158 159 public: 160 typedef PhysicalMemoryParams Params; 161 PhysicalMemory(const Params *p); 162 virtual ~PhysicalMemory(); 163 164 const Params * 165 params() const --- 24 unchanged lines hidden --- |