tlb.hh (9738:304a37519d11) | tlb.hh (10194:e6d2e8083d9c) |
---|---|
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; --- 73 unchanged lines hidden (view full) --- 82 void nextnlu() { if (++nlu >= size) nlu = 0; } 83 TlbEntry *lookup(Addr vpn, uint8_t asn); 84 85 public: 86 typedef AlphaTLBParams Params; 87 TLB(const Params *p); 88 virtual ~TLB(); 89 | 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; --- 73 unchanged lines hidden (view full) --- 82 void nextnlu() { if (++nlu >= size) nlu = 0; } 83 TlbEntry *lookup(Addr vpn, uint8_t asn); 84 85 public: 86 typedef AlphaTLBParams Params; 87 TLB(const Params *p); 88 virtual ~TLB(); 89 |
90 void takeOverFrom(BaseTLB *otlb) {} 91 |
|
90 virtual void regStats(); 91 92 int getsize() const { return size; } 93 94 TlbEntry &index(bool advance = true); 95 void insert(Addr vaddr, TlbEntry &entry); 96 97 void flushAll(); --- 59 unchanged lines hidden --- | 92 virtual void regStats(); 93 94 int getsize() const { return size; } 95 96 TlbEntry &index(bool advance = true); 97 void insert(Addr vaddr, TlbEntry &entry); 98 99 void flushAll(); --- 59 unchanged lines hidden --- |