OpenCSD - CoreSight Trace Decode Library  1.3.3
trc_pkt_types.h
Go to the documentation of this file.
1 
9 /*
10  * Redistribution and use in source and binary forms, with or without modification,
11  * are permitted provided that the following conditions are met:
12  *
13  * 1. Redistributions of source code must retain the above copyright notice,
14  * this list of conditions and the following disclaimer.
15  *
16  * 2. Redistributions in binary form must reproduce the above copyright notice,
17  * this list of conditions and the following disclaimer in the documentation
18  * and/or other materials provided with the distribution.
19  *
20  * 3. Neither the name of the copyright holder nor the names of its contributors
21  * may be used to endorse or promote products derived from this software without
22  * specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
25  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
27  * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
28  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
31  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34  */
35 
36 #ifndef ARM_TRC_PKT_TYPES_H_INCLUDED
37 #define ARM_TRC_PKT_TYPES_H_INCLUDED
38 
39 #include <stdint.h>
40 #include "opencsd/ocsd_if_types.h"
41 
52 typedef enum _ocsd_pkt_va_size
53 {
55  VA_64BIT
57 
58 typedef struct _ocsd_pkt_vaddr
59 {
62  uint8_t pkt_bits;
63  uint8_t valid_bits;
65 
66 typedef struct _ocsd_pkt_byte_sz_val
67 {
68  uint32_t val;
69  uint8_t size_bytes;
70  uint8_t valid_bytes;
72 
73 typedef enum _ocsd_pkt_atm_type
74 {
78 
79 typedef enum _ocsd_atm_val {
81  ATOM_E
83 
84 typedef struct _ocsd_pkt_atom
85 {
90  uint32_t En_bits;
91  uint8_t num;
93 
95 typedef enum _ocsd_iSync_reason {
101 
102 
103 typedef enum _ocsd_armv7_exception {
130 
135 #endif // ARM_TRC_PKT_TYPES_H_INCLUDED
136 
137 /* End of File opencsd/trc_pkt_types.h */
uint64_t ocsd_vaddr_t
_ocsd_atm_val
Definition: trc_pkt_types.h:79
_ocsd_iSync_reason
Definition: trc_pkt_types.h:95
struct _ocsd_pkt_vaddr ocsd_pkt_vaddr
struct _ocsd_pkt_byte_sz_val ocsd_pkt_byte_sz_val
_ocsd_pkt_va_size
Definition: trc_pkt_types.h:53
_ocsd_pkt_atm_type
Definition: trc_pkt_types.h:74
enum _ocsd_atm_val ocsd_atm_val
enum _ocsd_armv7_exception ocsd_armv7_exception
_ocsd_armv7_exception
enum _ocsd_pkt_atm_type ocsd_pkt_atm_type
enum _ocsd_pkt_va_size ocsd_pkt_va_size
struct _ocsd_pkt_atom ocsd_pkt_atom
enum _ocsd_iSync_reason ocsd_iSync_reason
@ ATOM_N
Definition: trc_pkt_types.h:80
@ ATOM_E
Definition: trc_pkt_types.h:81
@ iSync_DebugExit
Definition: trc_pkt_types.h:99
@ iSync_TraceRestartAfterOverflow
Definition: trc_pkt_types.h:98
@ iSync_TraceEnable
Definition: trc_pkt_types.h:97
@ iSync_Periodic
Definition: trc_pkt_types.h:96
@ VA_32BIT
Definition: trc_pkt_types.h:54
@ VA_64BIT
Definition: trc_pkt_types.h:55
@ ATOM_PATTERN
Definition: trc_pkt_types.h:75
@ ATOM_REPEAT
Definition: trc_pkt_types.h:76
@ Excp_CMPendSV
@ Excp_Undef
@ Excp_DebugHalt
@ Excp_CMMemManage
@ Excp_Hyp
@ Excp_CMUsageFault
@ Excp_CMIRQn
@ Excp_PrefAbort
@ Excp_CMDebugMonitor
@ Excp_AsyncDAbort
@ Excp_ThumbEECheckFail
@ Excp_SVC
@ Excp_FIQ
@ Excp_NoException
@ Excp_CMSysTick
@ Excp_CMBusFault
@ Excp_CMNMI
@ Excp_IRQ
@ Excp_Reset
@ Excp_SyncDataAbort
@ Excp_Jazelle
@ Excp_Generic
@ Excp_SMC
@ Excp_Reserved
@ Excp_CMHardFault
OpenCSD : Standard Types used in the library interfaces.
uint32_t En_bits
Definition: trc_pkt_types.h:90
uint8_t valid_bits
Definition: trc_pkt_types.h:63
ocsd_pkt_va_size size
Definition: trc_pkt_types.h:60
ocsd_vaddr_t val
Definition: trc_pkt_types.h:61