1/* 2 * Copyright (c) 2012-2013 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 --- 562 unchanged lines hidden (view full) --- 571 /** Accessor function for thread ID. */ 572 int 573 threadId() const 574 { 575 assert(privateFlags.isSet(VALID_THREAD_ID)); 576 return _threadId; 577 } 578 |
579 void 580 setPC(Addr pc) 581 { 582 privateFlags.set(VALID_PC); 583 _pc = pc; 584 } 585 |
586 bool 587 hasPC() const 588 { 589 return privateFlags.isSet(VALID_PC); 590 } 591 592 /** Accessor function for pc.*/ 593 Addr --- 43 unchanged lines hidden --- |