1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 453 unchanged lines hidden (view full) --- 462 463 Addr vaddr = req->getVaddr(); 464 uint32_t flags = req->getFlags(); 465 466 bool is_fetch = (mode == Execute); 467 bool is_write = (mode == Write); 468 bool is_priv = isPriv && !(flags & UserMode); 469 |
470 req->setAsid(contextId.asid); 471 |
472 DPRINTF(TLBVerbose, "CPSR is priv:%d UserMode:%d\n", 473 isPriv, flags & UserMode); 474 // If this is a clrex instruction, provide a PA of 0 with no fault 475 // This will force the monitor to set the tracked address to 0 476 // a bit of a hack but this effectively clrears this processors monitor 477 if (flags & Request::CLEAR_LL){ 478 req->setPaddr(0); 479 req->setFlags(Request::UNCACHEABLE); --- 261 unchanged lines hidden --- |