summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/init-short-addr
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/tests/snapshots/init-short-addr')
-rw-r--r--decoder/tests/snapshots/init-short-addr/device1.ini4
-rw-r--r--decoder/tests/snapshots/init-short-addr/device2.ini17
-rw-r--r--decoder/tests/snapshots/init-short-addr/snapshot.ini12
-rw-r--r--decoder/tests/snapshots/init-short-addr/trace.ini16
-rw-r--r--decoder/tests/snapshots/init-short-addr/tracebuffer.binbin0 -> 56 bytes
5 files changed, 49 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/init-short-addr/device1.ini b/decoder/tests/snapshots/init-short-addr/device1.ini
new file mode 100644
index 0000000..9b6d0bf
--- /dev/null
+++ b/decoder/tests/snapshots/init-short-addr/device1.ini
@@ -0,0 +1,4 @@
+[device]
+name=Cortex-A57_0
+class=core
+type=Cortex-A57
diff --git a/decoder/tests/snapshots/init-short-addr/device2.ini b/decoder/tests/snapshots/init-short-addr/device2.ini
new file mode 100644
index 0000000..0b5ffbb
--- /dev/null
+++ b/decoder/tests/snapshots/init-short-addr/device2.ini
@@ -0,0 +1,17 @@
+[device]
+name=CSETM_0
+class=trace_source
+type=ETM4.4
+
+[regs]
+TRCCONFIGR(id:0x4)=0x00000001
+TRCTRACEIDR(id:0x10)=0x00000000
+TRCIDR8(id:0x60)=0x00000000
+TRCIDR9(id:0x61)=0x00000000
+TRCIDR10(id:0x62)=0x00000000
+TRCIDR11(id:0x63)=0x00000000
+TRCIDR12(id:0x64)=0x00000000
+TRCIDR13(id:0x65)=0x00000000
+TRCIDR0(id:0x78)=0x08000CA1
+TRCIDR1(id:0x79)=0x4200F440
+TRCIDR2(id:0x7A)=0x20001088
diff --git a/decoder/tests/snapshots/init-short-addr/snapshot.ini b/decoder/tests/snapshots/init-short-addr/snapshot.ini
new file mode 100644
index 0000000..f5d6df7
--- /dev/null
+++ b/decoder/tests/snapshots/init-short-addr/snapshot.ini
@@ -0,0 +1,12 @@
+; DS-5 snapshot
+
+[snapshot]
+version=1.0
+
+[device_list]
+device1=device1.ini
+device2=device2.ini
+
+[trace]
+metadata=trace.ini
+
diff --git a/decoder/tests/snapshots/init-short-addr/trace.ini b/decoder/tests/snapshots/init-short-addr/trace.ini
new file mode 100644
index 0000000..9a3ea3b
--- /dev/null
+++ b/decoder/tests/snapshots/init-short-addr/trace.ini
@@ -0,0 +1,16 @@
+; DS-5 trace metadata
+
+[trace_buffers]
+buffers=buffer0
+
+[buffer0]
+name=CSTMC_TRACE_FIFO
+file=tracebuffer.bin
+format=source_data
+
+[core_trace_sources]
+Cortex-A57_0=CSETM_0
+
+[source_buffers]
+CSETM_0=CSTMC_TRACE_FIFO
+
diff --git a/decoder/tests/snapshots/init-short-addr/tracebuffer.bin b/decoder/tests/snapshots/init-short-addr/tracebuffer.bin
new file mode 100644
index 0000000..3b20fd5
--- /dev/null
+++ b/decoder/tests/snapshots/init-short-addr/tracebuffer.bin
Binary files differ