On 28/09/2020 17:24, Kinsey Moore wrote:

+  RTEMS_STATIC_ASSERT(
+    offsetof( Context_Control, thread_id )
+      == AARCH64_CONTEXT_CONTROL_THREAD_ID_OFFSET,
+    AARCH64_CONTEXT_CONTROL_THREAD_ID_OFFSET
+  );

Wrong indentation level.

It would be good to add assertions for all offset defines. Errors in these offsets can lead to hard to find sporadic bugs.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to