From 218bb6e7b25bbfaaa86727a620d48b3d0ee94bba Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Mon, 13 Dec 2021 13:17:02 +0100 Subject: [PATCH] add namedtuple MSRSpec --- src/openpower/decoder/power_enums.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index de8a0a47..f0392d58 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -593,6 +593,8 @@ XER_bits = { 'CA32': 45 } +MSRSpec = namedtuple("MSRSpec", ["dr", "pr", "sf"]) + if __name__ == '__main__': # find out what the heck is in SPR enum :) print("sprs full", len(SPRfull)) -- 2.30.2