Deleted Added
sdiff udiff text old ( 12109:f29e9c5418aa ) new ( 12420:f5c80f4ed41f )
full compact
1/*
2 * Copyright (c) 2011-2014, 2016 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

419 }
420
421 void
422 demapDataPage(Addr vaddr, uint64_t asn)
423 {
424 thread.getDTBPtr()->demapPage(vaddr, asn);
425 }
426
427 BaseCPU *getCpuPtr() { return &cpu; }
428
429 /* MIPS: other thread register reading/writing */
430 uint64_t
431 readRegOtherThread(const RegId& reg, ThreadID tid = InvalidThreadID)
432 {
433 SimpleThread *other_thread = (tid == InvalidThreadID
434 ? &thread : cpu.threads[tid]);
435
436 switch (reg.classValue()) {

--- 55 unchanged lines hidden ---