faults.cc (12511:99c28b88d4d8) | faults.cc (12512:cb5ebe30bb9e) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2014, 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 --- 223 unchanged lines hidden (view full) --- 232 "Virtual Data Abort", 0x010, 0x000, 0x200, 0x400, 0x600, MODE_ABORT, 233 8, 8, 0, 0, true, true, false, EC_INVALID, FaultStat() 234}; 235template<> ArmFault::FaultVals ArmFaultVals<HypervisorTrap>::vals = { 236 // @todo: double check these values 237 "Hypervisor Trap", 0x014, 0x000, 0x200, 0x400, 0x600, MODE_HYP, 238 0, 0, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 239}; | 1/* 2 * Copyright (c) 2010, 2012-2014, 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 --- 223 unchanged lines hidden (view full) --- 232 "Virtual Data Abort", 0x010, 0x000, 0x200, 0x400, 0x600, MODE_ABORT, 233 8, 8, 0, 0, true, true, false, EC_INVALID, FaultStat() 234}; 235template<> ArmFault::FaultVals ArmFaultVals<HypervisorTrap>::vals = { 236 // @todo: double check these values 237 "Hypervisor Trap", 0x014, 0x000, 0x200, 0x400, 0x600, MODE_HYP, 238 0, 0, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 239}; |
240template<> ArmFault::FaultVals ArmFaultVals<SecureMonitorTrap>::vals = { 241 "Secure Monitor Trap", 0x004, 0x000, 0x200, 0x400, 0x600, MODE_MON, 242 4, 2, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 243}; |
|
240template<> ArmFault::FaultVals ArmFaultVals<Interrupt>::vals = { 241 "IRQ", 0x018, 0x080, 0x280, 0x480, 0x680, MODE_IRQ, 242 4, 4, 0, 0, false, true, false, EC_UNKNOWN, FaultStat() 243}; 244template<> ArmFault::FaultVals ArmFaultVals<VirtualInterrupt>::vals = { 245 "Virtual IRQ", 0x018, 0x080, 0x280, 0x480, 0x680, MODE_IRQ, 246 4, 4, 0, 0, false, true, false, EC_INVALID, FaultStat() 247}; --- 5 unchanged lines hidden (view full) --- 253 "Virtual FIQ", 0x01C, 0x100, 0x300, 0x500, 0x700, MODE_FIQ, 254 4, 4, 0, 0, false, true, true, EC_INVALID, FaultStat() 255}; 256template<> ArmFault::FaultVals ArmFaultVals<SupervisorTrap>::vals = { 257 // Some dummy values (SupervisorTrap is AArch64-only) 258 "Supervisor Trap", 0x014, 0x000, 0x200, 0x400, 0x600, MODE_SVC, 259 0, 0, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 260}; | 244template<> ArmFault::FaultVals ArmFaultVals<Interrupt>::vals = { 245 "IRQ", 0x018, 0x080, 0x280, 0x480, 0x680, MODE_IRQ, 246 4, 4, 0, 0, false, true, false, EC_UNKNOWN, FaultStat() 247}; 248template<> ArmFault::FaultVals ArmFaultVals<VirtualInterrupt>::vals = { 249 "Virtual IRQ", 0x018, 0x080, 0x280, 0x480, 0x680, MODE_IRQ, 250 4, 4, 0, 0, false, true, false, EC_INVALID, FaultStat() 251}; --- 5 unchanged lines hidden (view full) --- 257 "Virtual FIQ", 0x01C, 0x100, 0x300, 0x500, 0x700, MODE_FIQ, 258 4, 4, 0, 0, false, true, true, EC_INVALID, FaultStat() 259}; 260template<> ArmFault::FaultVals ArmFaultVals<SupervisorTrap>::vals = { 261 // Some dummy values (SupervisorTrap is AArch64-only) 262 "Supervisor Trap", 0x014, 0x000, 0x200, 0x400, 0x600, MODE_SVC, 263 0, 0, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 264}; |
261template<> ArmFault::FaultVals ArmFaultVals<SecureMonitorTrap>::vals = { 262 // Some dummy values (SecureMonitorTrap is AArch64-only) 263 "Secure Monitor Trap", 0x014, 0x000, 0x200, 0x400, 0x600, MODE_MON, 264 0, 0, 0, 0, false, false, false, EC_UNKNOWN, FaultStat() 265}; | |
266template<> ArmFault::FaultVals ArmFaultVals<PCAlignmentFault>::vals = { 267 // Some dummy values (PCAlignmentFault is AArch64-only) 268 "PC Alignment Fault", 0x000, 0x000, 0x200, 0x400, 0x600, MODE_SVC, 269 0, 0, 0, 0, true, false, false, EC_PC_ALIGNMENT, FaultStat() 270}; 271template<> ArmFault::FaultVals ArmFaultVals<SPAlignmentFault>::vals = { 272 // Some dummy values (SPAlignmentFault is AArch64-only) 273 "SP Alignment Fault", 0x000, 0x000, 0x200, 0x400, 0x600, MODE_SVC, --- 1261 unchanged lines hidden --- | 265template<> ArmFault::FaultVals ArmFaultVals<PCAlignmentFault>::vals = { 266 // Some dummy values (PCAlignmentFault is AArch64-only) 267 "PC Alignment Fault", 0x000, 0x000, 0x200, 0x400, 0x600, MODE_SVC, 268 0, 0, 0, 0, true, false, false, EC_PC_ALIGNMENT, FaultStat() 269}; 270template<> ArmFault::FaultVals ArmFaultVals<SPAlignmentFault>::vals = { 271 // Some dummy values (SPAlignmentFault is AArch64-only) 272 "SP Alignment Fault", 0x000, 0x000, 0x200, 0x400, 0x600, MODE_SVC, --- 1261 unchanged lines hidden --- |