From 3730dd98a79bbd5504877a7f39fedcfe3f68ba1b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 8 Mar 2020 12:53:38 +0000 Subject: [PATCH] add SPR enum --- src/decoder/power_enums.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/decoder/power_enums.py b/src/decoder/power_enums.py index f520ee57..4800bdf2 100644 --- a/src/decoder/power_enums.py +++ b/src/decoder/power_enums.py @@ -206,3 +206,22 @@ class CryIn(Enum): ZERO = 0 ONE = 1 CA = 2 + +@unique +class SPR(Enum): + XER = 1 + LR = 8 + CTR = 9 + TB = 268 + SRR0 = 26 + SRR1 = 27 + HSRR0 = 314 + HSRR1 = 315 + SPRG0 = 272 + SPRG1 = 273 + SPRG2 = 274 + SPRG3 = 275 + SPRG3U = 259 + HSPRG0 = 304 + HSPRG1 = 305 + -- 2.30.2