remote_gdb.cc (12449:2260f4a68210) remote_gdb.cc (12455:c88f0b37f433)
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

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

83 Addr endVa = va + len - 1;
84 if ((va & ~mask(logBytes)) == (endVa & ~mask(logBytes)))
85 return true;
86
87 fault = walker->startFunctional(context(), endVa, logBytes,
88 BaseTLB::Read);
89 return fault == NoFault;
90 } else {
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

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

83 Addr endVa = va + len - 1;
84 if ((va & ~mask(logBytes)) == (endVa & ~mask(logBytes)))
85 return true;
86
87 fault = walker->startFunctional(context(), endVa, logBytes,
88 BaseTLB::Read);
89 return fault == NoFault;
90 } else {
91 TlbEntry entry;
92 return context()->getProcessPtr()->pTable->lookup(va, entry);
91 return context()->getProcessPtr()->pTable->lookup(va) != nullptr;
93 }
94}
95
96BaseGdbRegCache*
97RemoteGDB::gdbRegs()
98{
99 HandyM5Reg m5reg = context()->readMiscRegNoEffect(MISCREG_M5_REG);
100 if (m5reg.submode == SixtyFourBitMode)

--- 122 unchanged lines hidden ---
92 }
93}
94
95BaseGdbRegCache*
96RemoteGDB::gdbRegs()
97{
98 HandyM5Reg m5reg = context()->readMiscRegNoEffect(MISCREG_M5_REG);
99 if (m5reg.submode == SixtyFourBitMode)

--- 122 unchanged lines hidden ---