base_dyn_inst.hh (10030:b531e328342d) | base_dyn_inst.hh (10110:580b47334a97) |
---|---|
1/* 2 * Copyright (c) 2011,2013 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 --- 440 unchanged lines hidden (view full) --- 449 public: 450 /** Dumps out contents of this BaseDynInst. */ 451 void dump(); 452 453 /** Dumps out contents of this BaseDynInst into given string. */ 454 void dump(std::string &outstring); 455 456 /** Read this CPU's ID. */ | 1/* 2 * Copyright (c) 2011,2013 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 --- 440 unchanged lines hidden (view full) --- 449 public: 450 /** Dumps out contents of this BaseDynInst. */ 451 void dump(); 452 453 /** Dumps out contents of this BaseDynInst into given string. */ 454 void dump(std::string &outstring); 455 456 /** Read this CPU's ID. */ |
457 int cpuId() { return cpu->cpuId(); } | 457 int cpuId() const { return cpu->cpuId(); } |
458 459 /** Read this CPU's data requestor ID */ | 458 459 /** Read this CPU's data requestor ID */ |
460 MasterID masterId() { return cpu->dataMasterId(); } | 460 MasterID masterId() const { return cpu->dataMasterId(); } |
461 462 /** Read this context's system-wide ID **/ | 461 462 /** Read this context's system-wide ID **/ |
463 int contextId() { return thread->contextId(); } | 463 int contextId() const { return thread->contextId(); } |
464 465 /** Returns the fault type. */ | 464 465 /** Returns the fault type. */ |
466 Fault getFault() { return fault; } | 466 Fault getFault() const { return fault; } |
467 468 /** Checks whether or not this instruction has had its branch target 469 * calculated yet. For now it is not utilized and is hacked to be 470 * always false. 471 * @todo: Actually use this instruction. 472 */ 473 bool doneTargCalc() { return false; } 474 --- 612 unchanged lines hidden --- | 467 468 /** Checks whether or not this instruction has had its branch target 469 * calculated yet. For now it is not utilized and is hacked to be 470 * always false. 471 * @todo: Actually use this instruction. 472 */ 473 bool doneTargCalc() { return false; } 474 --- 612 unchanged lines hidden --- |