faults.hh (11576:9ff589e30935) faults.hh (11929:88f43ae4c816)
1/*
1/*
2 * Copyright (c) 2010, 2012-2013, 2016 ARM Limited
2 * Copyright (c) 2010, 2012-2013, 2016-2017 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

561
562/// Illegal Instruction Set State fault (AArch64 only)
563class IllegalInstSetStateFault : public ArmFaultVals<IllegalInstSetStateFault>
564{
565 public:
566 IllegalInstSetStateFault();
567};
568
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

561
562/// Illegal Instruction Set State fault (AArch64 only)
563class IllegalInstSetStateFault : public ArmFaultVals<IllegalInstSetStateFault>
564{
565 public:
566 IllegalInstSetStateFault();
567};
568
569/*
570 * Explicitly declare template static member variables avoid warnings in some clang versions
571 */
572template<> ArmFault::FaultVals ArmFaultVals<Reset>::vals;
573template<> ArmFault::FaultVals ArmFaultVals<UndefinedInstruction>::vals;
574template<> ArmFault::FaultVals ArmFaultVals<SupervisorCall>::vals;
575template<> ArmFault::FaultVals ArmFaultVals<SecureMonitorCall>::vals;
576template<> ArmFault::FaultVals ArmFaultVals<HypervisorCall>::vals;
577template<> ArmFault::FaultVals ArmFaultVals<PrefetchAbort>::vals;
578template<> ArmFault::FaultVals ArmFaultVals<DataAbort>::vals;
579template<> ArmFault::FaultVals ArmFaultVals<VirtualDataAbort>::vals;
580template<> ArmFault::FaultVals ArmFaultVals<HypervisorTrap>::vals;
581template<> ArmFault::FaultVals ArmFaultVals<Interrupt>::vals;
582template<> ArmFault::FaultVals ArmFaultVals<VirtualInterrupt>::vals;
583template<> ArmFault::FaultVals ArmFaultVals<FastInterrupt>::vals;
584template<> ArmFault::FaultVals ArmFaultVals<VirtualFastInterrupt>::vals;
585template<> ArmFault::FaultVals ArmFaultVals<SupervisorTrap>::vals;
586template<> ArmFault::FaultVals ArmFaultVals<SecureMonitorTrap>::vals;
587template<> ArmFault::FaultVals ArmFaultVals<PCAlignmentFault>::vals;
588template<> ArmFault::FaultVals ArmFaultVals<SPAlignmentFault>::vals;
589template<> ArmFault::FaultVals ArmFaultVals<SystemError>::vals;
590template<> ArmFault::FaultVals ArmFaultVals<FlushPipe>::vals;
591template<> ArmFault::FaultVals ArmFaultVals<ArmSev>::vals;
592
593
569} // namespace ArmISA
570
571#endif // __ARM_FAULTS_HH__
594} // namespace ArmISA
595
596#endif // __ARM_FAULTS_HH__