tlb.hh (9180:ee8d7a51651d) | tlb.hh (9423:43caa4ca5979) |
---|---|
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; --- 109 unchanged lines hidden (view full) --- 118 /** Insert a PTE into the TLB. */ 119 void insert(Addr vpn, int partition_id, int context_id, bool real, 120 const PageTableEntry& PTE, int entry = -1); 121 122 /** Given an entry id, read that tlb entries' tag. */ 123 uint64_t TagRead(int entry); 124 125 /** Remove all entries from the TLB */ | 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; --- 109 unchanged lines hidden (view full) --- 118 /** Insert a PTE into the TLB. */ 119 void insert(Addr vpn, int partition_id, int context_id, bool real, 120 const PageTableEntry& PTE, int entry = -1); 121 122 /** Given an entry id, read that tlb entries' tag. */ 123 uint64_t TagRead(int entry); 124 125 /** Remove all entries from the TLB */ |
126 void invalidateAll(); | 126 void flushAll(); |
127 128 /** Remove all non-locked entries from the tlb that match partition id. */ 129 void demapAll(int partition_id); 130 131 /** Remove all entries that match a given context/partition id. */ 132 void demapContext(int partition_id, int context_id); 133 134 /** Remve all entries that match a certain partition id, (contextid), and --- 62 unchanged lines hidden --- | 127 128 /** Remove all non-locked entries from the tlb that match partition id. */ 129 void demapAll(int partition_id); 130 131 /** Remove all entries that match a given context/partition id. */ 132 void demapContext(int partition_id, int context_id); 133 134 /** Remve all entries that match a certain partition id, (contextid), and --- 62 unchanged lines hidden --- |