summaryrefslogtreecommitdiff
path: root/src/core/tracer/citrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/tracer/citrace.h')
-rw-r--r--src/core/tracer/citrace.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/tracer/citrace.h b/src/core/tracer/citrace.h
index 709abdfb3..ac26e872b 100644
--- a/src/core/tracer/citrace.h
+++ b/src/core/tracer/citrace.h
@@ -61,8 +61,8 @@ struct CTHeader {
61}; 61};
62 62
63enum CTStreamElementType : u32 { 63enum CTStreamElementType : u32 {
64 FrameMarker = 0xE1, 64 FrameMarker = 0xE1,
65 MemoryLoad = 0xE2, 65 MemoryLoad = 0xE2,
66 RegisterWrite = 0xE3, 66 RegisterWrite = 0xE3,
67}; 67};
68 68
@@ -76,12 +76,7 @@ struct CTMemoryLoad {
76struct CTRegisterWrite { 76struct CTRegisterWrite {
77 u32 physical_address; 77 u32 physical_address;
78 78
79 enum : u32 { 79 enum : u32 { SIZE_8 = 0xD1, SIZE_16 = 0xD2, SIZE_32 = 0xD3, SIZE_64 = 0xD4 } size;
80 SIZE_8 = 0xD1,
81 SIZE_16 = 0xD2,
82 SIZE_32 = 0xD3,
83 SIZE_64 = 0xD4
84 } size;
85 80
86 // TODO: Make it clearer which bits of this member are used for sizes other than 32 bits 81 // TODO: Make it clearer which bits of this member are used for sizes other than 32 bits
87 u64 value; 82 u64 value;
@@ -97,5 +92,4 @@ struct CTStreamElement {
97}; 92};
98 93
99#pragma pack() 94#pragma pack()
100
101} 95}