faults.hh (7611:c119da5a80c8) | faults.hh (7640:5286a8a469c5) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 139 unchanged lines hidden (view full) --- 148 149class UndefinedInstruction : public ArmFaultVals<UndefinedInstruction> 150{ 151#if !FULL_SYSTEM 152 protected: 153 ExtMachInst machInst; 154 bool unknown; 155 const char *mnemonic; | 1/* 2 * Copyright (c) 2010 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 --- 139 unchanged lines hidden (view full) --- 148 149class UndefinedInstruction : public ArmFaultVals<UndefinedInstruction> 150{ 151#if !FULL_SYSTEM 152 protected: 153 ExtMachInst machInst; 154 bool unknown; 155 const char *mnemonic; |
156 bool disabled; |
|
156 157 public: 158 UndefinedInstruction(ExtMachInst _machInst, 159 bool _unknown, | 157 158 public: 159 UndefinedInstruction(ExtMachInst _machInst, 160 bool _unknown, |
160 const char *_mnemonic = NULL) : 161 machInst(_machInst), unknown(_unknown), mnemonic(_mnemonic) | 161 const char *_mnemonic = NULL, 162 bool _disabled = false) : 163 machInst(_machInst), unknown(_unknown), 164 mnemonic(_mnemonic), disabled(_disabled) |
162 { 163 } 164 165 void invoke(ThreadContext *tc); 166#endif 167}; 168 169class SupervisorCall : public ArmFaultVals<SupervisorCall> --- 65 unchanged lines hidden --- | 165 { 166 } 167 168 void invoke(ThreadContext *tc); 169#endif 170}; 171 172class SupervisorCall : public ArmFaultVals<SupervisorCall> --- 65 unchanged lines hidden --- |