faults.hh (12517:77e8688fc670) | faults.hh (12568:c82782e5a84c) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2013, 2016-2018 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 --- 521 unchanged lines hidden (view full) --- 530 protected: 531 /// The unaligned value of the PC 532 Addr faultPC; 533 public: 534 PCAlignmentFault(Addr _faultPC) : faultPC(_faultPC) 535 {} 536 void invoke(ThreadContext *tc, const StaticInstPtr &inst = 537 StaticInst::nullStaticInstPtr) override; | 1/* 2 * Copyright (c) 2010, 2012-2013, 2016-2018 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 --- 521 unchanged lines hidden (view full) --- 530 protected: 531 /// The unaligned value of the PC 532 Addr faultPC; 533 public: 534 PCAlignmentFault(Addr _faultPC) : faultPC(_faultPC) 535 {} 536 void invoke(ThreadContext *tc, const StaticInstPtr &inst = 537 StaticInst::nullStaticInstPtr) override; |
538 bool routeToHyp(ThreadContext *tc) const override; |
|
538}; 539 540/// Stack pointer alignment fault (AArch64 only) 541class SPAlignmentFault : public ArmFaultVals<SPAlignmentFault> 542{ 543 public: 544 SPAlignmentFault(); 545}; --- 66 unchanged lines hidden --- | 539}; 540 541/// Stack pointer alignment fault (AArch64 only) 542class SPAlignmentFault : public ArmFaultVals<SPAlignmentFault> 543{ 544 public: 545 SPAlignmentFault(); 546}; --- 66 unchanged lines hidden --- |