1/* 2 * Copyright 2015 LabWare 3 * Copyright 2014 Google, Inc. 4 * Copyright (c) 2007 The Hewlett-Packard Development Company 5 * All rights reserved. 6 * 7 * The license below extends only to copyright in the software and shall 8 * not be construed as granting a license to any other intellectual --- 58 unchanged lines hidden (view full) --- 67RemoteGDB::RemoteGDB(System *_system, ThreadContext *c) : 68 BaseRemoteGDB(_system, c), regCache32(this), regCache64(this) 69{} 70 71bool 72RemoteGDB::acc(Addr va, size_t len) 73{ 74 if (FullSystem) { |
75 Walker *walker = dynamic_cast<TLB *>( 76 context->getDTBPtr())->getWalker(); |
77 unsigned logBytes; 78 Fault fault = walker->startFunctional(context, va, logBytes, 79 BaseTLB::Read); 80 if (fault != NoFault) 81 return false; 82 83 Addr endVa = va + len - 1; 84 if ((va & ~mask(logBytes)) == (endVa & ~mask(logBytes))) --- 138 unchanged lines hidden --- |