summaryrefslogtreecommitdiffstats
path: root/include/APE_TX_PORT2.h
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-01-29 20:54:08 -0700
committerGitHub <noreply@github.com>2020-01-29 20:54:08 -0700
commit3479bccff3e1a45efefdd5bc178a97d4f43b18cf (patch)
tree6c333e5f4132d68642c9e1336adb720dd1da0d9e /include/APE_TX_PORT2.h
parentd0e143ed6a338dc33241563d8784de8075ab8e3f (diff)
downloadbcm5719-ortega-3479bccff3e1a45efefdd5bc178a97d4f43b18cf.tar.gz
bcm5719-ortega-3479bccff3e1a45efefdd5bc178a97d4f43b18cf.zip
ipxact: Update ipxact and regenerate to include updated error checking. (#19)
Diffstat (limited to 'include/APE_TX_PORT2.h')
-rw-r--r--include/APE_TX_PORT2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/APE_TX_PORT2.h b/include/APE_TX_PORT2.h
index a733046..8c51c8c 100644
--- a/include/APE_TX_PORT2.h
+++ b/include/APE_TX_PORT2.h
@@ -97,6 +97,10 @@ extern volatile TX_PORT_t TX_PORT2;
#undef BITFIELD_MEMBER
#undef BITFIELD_END
+#ifndef CXX_SIMULATOR
+_Static_assert(sizeof(TX_PORT_t) == 8192, "sizeof(TX_PORT_t) must be 8192");
+#endif
+
#endif /* !APE_TX_PORT2_H */
/** @} */
OpenPOWER on IntegriCloud