tlb.hh (9738:304a37519d11) tlb.hh (10194:e6d2e8083d9c)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 73 unchanged lines hidden (view full) ---

82
83 public:
84 typedef MipsTLBParams Params;
85 TLB(const Params *p);
86
87 int probeEntry(Addr vpn,uint8_t) const;
88 MipsISA::PTE *getEntry(unsigned) const;
89 virtual ~TLB();
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 73 unchanged lines hidden (view full) ---

82
83 public:
84 typedef MipsTLBParams Params;
85 TLB(const Params *p);
86
87 int probeEntry(Addr vpn,uint8_t) const;
88 MipsISA::PTE *getEntry(unsigned) const;
89 virtual ~TLB();
90
91 void takeOverFrom(BaseTLB *otlb) {}
92
90 int smallPages;
91 int getsize() const { return size; }
92
93 MipsISA::PTE &index(bool advance = true);
94 void insert(Addr vaddr, MipsISA::PTE &pte);
95 void insertAt(MipsISA::PTE &pte, unsigned Index, int _smallPages);
96 void flushAll();
97 void demapPage(Addr vaddr, uint64_t asn)

--- 35 unchanged lines hidden ---
93 int smallPages;
94 int getsize() const { return size; }
95
96 MipsISA::PTE &index(bool advance = true);
97 void insert(Addr vaddr, MipsISA::PTE &pte);
98 void insertAt(MipsISA::PTE &pte, unsigned Index, int _smallPages);
99 void flushAll();
100 void demapPage(Addr vaddr, uint64_t asn)

--- 35 unchanged lines hidden ---