Skip to content

Commit 499be18

Browse files
committed
gen_trace.py: Add custom CSR names
1 parent 01a4006 commit 499be18

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

util/trace/gen_trace.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,12 @@
263263
0x33d: 'mhpmevent29',
264264
0x33e: 'mhpmevent30',
265265
0x33f: 'mhpmevent31',
266-
0xf11: 'mvendorid',
267-
0xf12: 'marchid',
268-
0xf13: 'mimpid',
269-
0xf14: 'mhartid',
266+
0x7c0: 'ssr',
267+
0x7c1: 'fpmode',
268+
0x7c2: 'barrier',
269+
0x7c3: 'sc',
270+
0x7c4: 'user_low',
271+
0x7c5: 'user_high',
270272
0xc80: 'cycleh',
271273
0xc81: 'timeh',
272274
0xc82: 'instreth',

0 commit comments

Comments
 (0)