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 {
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 {
82 } ocsd_atm_val;
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 */
ocsd_vaddr_t val
Definition: trc_pkt_types.h:61
_ocsd_iSync_reason
Definition: trc_pkt_types.h:95
uint64_t ocsd_vaddr_t
_ocsd_pkt_atm_type
Definition: trc_pkt_types.h:73
ocsd_pkt_va_size size
Definition: trc_pkt_types.h:60
_ocsd_atm_val
Definition: trc_pkt_types.h:79
enum _ocsd_atm_val ocsd_atm_val
enum _ocsd_iSync_reason ocsd_iSync_reason
uint8_t valid_bits
Definition: trc_pkt_types.h:63
enum _ocsd_pkt_va_size ocsd_pkt_va_size
enum _ocsd_armv7_exception ocsd_armv7_exception
enum _ocsd_pkt_atm_type ocsd_pkt_atm_type
struct _ocsd_pkt_atom ocsd_pkt_atom
struct _ocsd_pkt_vaddr ocsd_pkt_vaddr
struct _ocsd_pkt_byte_sz_val ocsd_pkt_byte_sz_val
OpenCSD : Standard Types used in the library interfaces.
_ocsd_pkt_va_size
Definition: trc_pkt_types.h:52
uint32_t En_bits
Definition: trc_pkt_types.h:90
_ocsd_armv7_exception