tlb.hh (5034:6186ef720dd4) | tlb.hh (5184:8782de2949e5) |
---|---|
1/* 2 * Copyright (c) 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; --- 25 unchanged lines hidden (view full) --- 34#include "params/MipsDTB.hh" 35#include "params/MipsITB.hh" 36#include "sim/tlb.hh" 37 38namespace MipsISA 39{ 40 struct TlbEntry 41 { | 1/* 2 * Copyright (c) 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; --- 25 unchanged lines hidden (view full) --- 34#include "params/MipsDTB.hh" 35#include "params/MipsITB.hh" 36#include "sim/tlb.hh" 37 38namespace MipsISA 39{ 40 struct TlbEntry 41 { |
42 Addr pageStart; | 42 Addr _pageStart; |
43 TlbEntry() {} | 43 TlbEntry() {} |
44 TlbEntry(Addr paddr) : pageStart(paddr) {} | 44 TlbEntry(Addr asn, Addr vaddr, Addr paddr) : _pageStart(paddr) {} |
45 | 45 |
46 Addr pageStart() 47 { 48 return _pageStart; 49 } 50 |
|
46 void serialize(std::ostream &os); 47 void unserialize(Checkpoint *cp, const std::string §ion); 48 }; 49 50 class TLB : public GenericTLB 51 { 52 public: 53 typedef MipsTLBParams Params; --- 24 unchanged lines hidden --- | 51 void serialize(std::ostream &os); 52 void unserialize(Checkpoint *cp, const std::string §ion); 53 }; 54 55 class TLB : public GenericTLB 56 { 57 public: 58 typedef MipsTLBParams Params; --- 24 unchanged lines hidden --- |