summaryrefslogtreecommitdiffstats
path: root/simulator/bcm5719_SHM_CHANNEL2.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-04-14 16:37:22 -0600
committerEvan Lojewski <github@meklort.com>2019-04-14 16:37:22 -0600
commit0cf10183e0f05c643b8c9112ef74efa2a8396eab (patch)
tree556592a81bbbc8f4c9dc84d0f6adae2aeded8232 /simulator/bcm5719_SHM_CHANNEL2.cpp
parentaef26ac93ecc586ca49d3352835afb37901c54e0 (diff)
downloadbcm5719-ortega-0cf10183e0f05c643b8c9112ef74efa2a8396eab.tar.gz
bcm5719-ortega-0cf10183e0f05c643b8c9112ef74efa2a8396eab.zip
Begin adding support for setting ape statistics in the SHM region.
Diffstat (limited to 'simulator/bcm5719_SHM_CHANNEL2.cpp')
-rw-r--r--simulator/bcm5719_SHM_CHANNEL2.cpp133
1 files changed, 133 insertions, 0 deletions
diff --git a/simulator/bcm5719_SHM_CHANNEL2.cpp b/simulator/bcm5719_SHM_CHANNEL2.cpp
new file mode 100644
index 0000000..5afe988
--- /dev/null
+++ b/simulator/bcm5719_SHM_CHANNEL2.cpp
@@ -0,0 +1,133 @@
+////////////////////////////////////////////////////////////////////////////////
+///
+/// @file bcm5719_SHM_CHANNEL2.cpp
+///
+/// @project bcm5719
+///
+/// @brief bcm5719_SHM_CHANNEL2
+///
+////////////////////////////////////////////////////////////////////////////////
+///
+////////////////////////////////////////////////////////////////////////////////
+///
+/// @copyright Copyright (c) 2018, Evan Lojewski
+/// @cond
+///
+/// All rights reserved.
+///
+/// Redistribution and use in source and binary forms, with or without
+/// modification, are permitted provided that the following conditions are met:
+/// 1. Redistributions of source code must retain the above copyright notice,
+/// this list of conditions and the following disclaimer.
+/// 2. Redistributions in binary form must reproduce the above copyright notice,
+/// this list of conditions and the following disclaimer in the documentation
+/// and/or other materials provided with the distribution.
+/// 3. Neither the name of the <organization> nor the
+/// names of its contributors may be used to endorse or promote products
+/// derived from this software without specific prior written permission.
+///
+////////////////////////////////////////////////////////////////////////////////
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+/// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+/// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+/// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+/// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+/// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+/// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+/// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+/// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+/// POSSIBILITY OF SUCH DAMAGE.
+/// @endcond
+////////////////////////////////////////////////////////////////////////////////
+
+#include <bcm5719_SHM_CHANNEL2.h>
+
+SHM_CHANNEL_t SHM_CHANNEL2;
+
+void init_bcm5719_SHM_CHANNEL2(void)
+{
+ /** @brief Component Registers for @ref SHM_CHANNEL2. */
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelInfo. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMcid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelAen. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelBfilt. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMfilt. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelSetting1. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelSetting2. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelVlan. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelAltHostMacHigh. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelAltHostMacMid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelAltHostMacLow. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac0High. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac0Mid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac0Low. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac1High. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac1Mid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac1Low. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac2High. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac2Mid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac2Low. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac3High. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac3Mid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac3Low. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac0VlanValid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac0Vlan. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac1VlanValid. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelMac1Vlan. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelStatus. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelResetCount. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelPxe. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelDropfil. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelSlink. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelDbg. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatRx. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatDropped. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatTypeErr. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatBadCsum. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatAllRx. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatAllTx. */
+
+ /** @brief Bitmap for @ref SHM_CHANNEL_t.NcsiChannelCtrlstatAllAen. */
+
+
+}
OpenPOWER on IntegriCloud