crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianStructuresLib/Arm/Exceptions/ArmExceptions.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 using System;
       
    18 using System.Collections.Generic;
       
    19 using System.Text;
       
    20 
       
    21 namespace SymbianStructuresLib.Arm.Exceptions
       
    22 {
       
    23     public enum TArmExceptionVectorLocation : uint
       
    24     {
       
    25         ENormal = 0x00000000,
       
    26         EHigh = 0xFFFF0000
       
    27     }
       
    28 
       
    29     public enum TArmExceptionType
       
    30     {
       
    31         EUnknown = -1,
       
    32         ENone = 0,
       
    33         EHaltingDebug,
       
    34         ESecureMonitorCall,
       
    35         EAsyncDataAbort,
       
    36         EJazelle,
       
    37         EProcessorReset,
       
    38         EUndefinedInstruction,
       
    39         ESVC,
       
    40         EPrefetchAbortOrSWBreakpoint,
       
    41         ESyncDataAbortOrSWWatchpoint,
       
    42         EGeneric,
       
    43         EIRQ,
       
    44         EFIQ
       
    45     }
       
    46 
       
    47     public enum TArmExceptionVector
       
    48     {
       
    49         EReset                  = 0x00000000,
       
    50         EUndefinedInstruction   = 0x00000004,
       
    51         ESVC                    = 0x00000008,
       
    52         EPrefetchAbort          = 0x0000000C,
       
    53         EDataAbort              = 0x00000010,
       
    54         EIRQ                    = 0x00000018,
       
    55         EFIQ                    = 0x0000001C
       
    56     }
       
    57 }