From 0cdf55817fdbbc9536cbdb3061324b83795b88ef Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 25 Sep 2022 01:22:46 +0100 Subject: [PATCH] --- openpower/sv/overview/discussion.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpower/sv/overview/discussion.mdwn b/openpower/sv/overview/discussion.mdwn index 0700ba21b..dd673a7c2 100644 --- a/openpower/sv/overview/discussion.mdwn +++ b/openpower/sv/overview/discussion.mdwn @@ -251,7 +251,8 @@ then the following bits are set (all others zero): RT.b61-3 = 1 RT.B7 = 0x07 RT.H3 = 0x0007 RT.W1 = 0x00000007 Now taking the c struct definition `elreg_t` above we may provide -a link between the two definitions: +a link between the two definitions, noting that our c "hardware" +is a LE-ordered "machine" but that RA is as above: elreg_t x = RA; x.actual_bytes[0] = RA.B7; // byte zero in LE is byte 7 in MSB0 -- 2.30.2