vtophys.cc (5560:c2db27fc4f27) | vtophys.cc (6022:410194bb3049) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 67 unchanged lines hidden (view full) --- 76 bool data_real = !bits(tlbdata,5,5); 77 bool inst_real = !bits(tlbdata,4,4); 78 bool ctx_zero = bits(tlbdata,18,16) > 0; 79 int part_id = bits(tlbdata,15,8); 80 int pri_context = bits(tlbdata,47,32); 81 //int sec_context = bits(tlbdata,63,48); 82 83 FunctionalPort *mem = tc->getPhysPort(); | 1/* 2 * Copyright (c) 2002-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; --- 67 unchanged lines hidden (view full) --- 76 bool data_real = !bits(tlbdata,5,5); 77 bool inst_real = !bits(tlbdata,4,4); 78 bool ctx_zero = bits(tlbdata,18,16) > 0; 79 int part_id = bits(tlbdata,15,8); 80 int pri_context = bits(tlbdata,47,32); 81 //int sec_context = bits(tlbdata,63,48); 82 83 FunctionalPort *mem = tc->getPhysPort(); |
84 ITB* itb = tc->getITBPtr(); 85 DTB* dtb = tc->getDTBPtr(); | 84 TLB* itb = tc->getITBPtr(); 85 TLB* dtb = tc->getDTBPtr(); |
86 TlbEntry* tbe; 87 PageTableEntry pte; 88 Addr tsbs[4]; 89 Addr va_tag; 90 TteTag ttetag; 91 92 if (hpriv) 93 return addr; --- 39 unchanged lines hidden --- | 86 TlbEntry* tbe; 87 PageTableEntry pte; 88 Addr tsbs[4]; 89 Addr va_tag; 90 TteTag ttetag; 91 92 if (hpriv) 93 return addr; --- 39 unchanged lines hidden --- |