From 38de02ff9f52ad4de3de25b8171e5a05390a38ad Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 4 May 2021 13:48:37 +0100 Subject: [PATCH] move "happened" field to end of LDSTException --- src/openpower/exceptions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openpower/exceptions.py b/src/openpower/exceptions.py index a0fc9a7f..e648ba1f 100644 --- a/src/openpower/exceptions.py +++ b/src/openpower/exceptions.py @@ -5,8 +5,9 @@ from nmigen import Signal # https://bugs.libre-soc.org/show_bug.cgi?id=465 class LDSTException(RecordObject): - _exc_types = ['happened', 'alignment', 'instr_fault', 'invalid', 'badtree', - 'perm_error', 'rc_error', 'segment_fault',] + _exc_types = ['alignment', 'instr_fault', 'invalid', 'badtree', + 'perm_error', 'rc_error', 'segment_fault', + 'happened', ] # must be last: may overlap with Data.ok def __init__(self, name=None): RecordObject.__init__(self, name=name) for f in self._exc_types: -- 2.30.2