tlb.cc (6116:a5a97b04d796) tlb.cc (6428:9e35cdc95e81)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

142Fault inline
143TLB::checkCacheability(RequestPtr &req)
144{
145 Addr VAddrUncacheable = 0xA0000000;
146 // In ARM, cacheability is controlled by certain bits of the virtual address
147 // or by the TLB entry
148 if((req->getVaddr() & VAddrUncacheable) == VAddrUncacheable) {
149 // mark request as uncacheable
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

142Fault inline
143TLB::checkCacheability(RequestPtr &req)
144{
145 Addr VAddrUncacheable = 0xA0000000;
146 // In ARM, cacheability is controlled by certain bits of the virtual address
147 // or by the TLB entry
148 if((req->getVaddr() & VAddrUncacheable) == VAddrUncacheable) {
149 // mark request as uncacheable
150 req->setFlags(req->getFlags() | Request::UNCACHEABLE);
150 req->setFlags(Request::UNCACHEABLE);
151 }
152 return NoFault;
153}
154void TLB::insertAt(ArmISA::PTE &pte, unsigned Index, int _smallPages)
155{
156 smallPages=_smallPages;
157 if(Index > size){
158 warn("Attempted to write at index (%d) beyond TLB size (%d)",Index,size);

--- 159 unchanged lines hidden ---
151 }
152 return NoFault;
153}
154void TLB::insertAt(ArmISA::PTE &pte, unsigned Index, int _smallPages)
155{
156 smallPages=_smallPages;
157 if(Index > size){
158 warn("Attempted to write at index (%d) beyond TLB size (%d)",Index,size);

--- 159 unchanged lines hidden ---