vtophys.cc (11793:ef606668d247) vtophys.cc (12406:86bde4a026b5)
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;

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

78 bool data_real = !bits(tlbdata,5,5);
79 bool inst_real = !bits(tlbdata,4,4);
80 bool ctx_zero = bits(tlbdata,18,16) > 0;
81 int part_id = bits(tlbdata,15,8);
82 int pri_context = bits(tlbdata,47,32);
83 // int sec_context = bits(tlbdata,63,48);
84
85 PortProxy &mem = tc->getPhysProxy();
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;

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

78 bool data_real = !bits(tlbdata,5,5);
79 bool inst_real = !bits(tlbdata,4,4);
80 bool ctx_zero = bits(tlbdata,18,16) > 0;
81 int part_id = bits(tlbdata,15,8);
82 int pri_context = bits(tlbdata,47,32);
83 // int sec_context = bits(tlbdata,63,48);
84
85 PortProxy &mem = tc->getPhysProxy();
86 TLB* itb = tc->getITBPtr();
87 TLB* dtb = tc->getDTBPtr();
86 TLB* itb = dynamic_cast<TLB *>(tc->getITBPtr());
87 TLB* dtb = dynamic_cast<TLB *>(tc->getDTBPtr());
88 TlbEntry* tbe;
89 PageTableEntry pte;
90 Addr tsbs[4];
91 Addr va_tag;
92 TteTag ttetag;
93
94 if (hpriv)
95 return addr;

--- 39 unchanged lines hidden ---
88 TlbEntry* tbe;
89 PageTableEntry pte;
90 Addr tsbs[4];
91 Addr va_tag;
92 TteTag ttetag;
93
94 if (hpriv)
95 return addr;

--- 39 unchanged lines hidden ---