summaryrefslogtreecommitdiffstats
path: root/simulator/bcm5719_APE_sim.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-04-29 23:27:39 -0600
committerEvan Lojewski <github@meklort.com>2019-04-29 23:27:39 -0600
commit0bbe3af5b17d1dde47c837207c7b0bd84fcca753 (patch)
tree50f28b9dc1375b1693f2fb01e7db5accfa4b89ba /simulator/bcm5719_APE_sim.cpp
parent2323b1274be2c91708c3c713811f54c3cbfe7107 (diff)
downloadbcm5719-ortega-0bbe3af5b17d1dde47c837207c7b0bd84fcca753.tar.gz
bcm5719-ortega-0bbe3af5b17d1dde47c837207c7b0bd84fcca753.zip
Fix register definiton for ape peripheral.
Diffstat (limited to 'simulator/bcm5719_APE_sim.cpp')
-rw-r--r--simulator/bcm5719_APE_sim.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simulator/bcm5719_APE_sim.cpp b/simulator/bcm5719_APE_sim.cpp
index 4d21c3f..21bee80 100644
--- a/simulator/bcm5719_APE_sim.cpp
+++ b/simulator/bcm5719_APE_sim.cpp
@@ -109,6 +109,10 @@ void init_bcm5719_APE_sim(void *base)
APE.TxToNetDoorbellFunc0.r32.installReadCallback(read_from_ram, (uint8_t *)base);
APE.TxToNetDoorbellFunc0.r32.installWriteCallback(write_to_ram, (uint8_t *)base);
+ /** @brief Bitmap for @ref APE_t.TxState0. */
+ APE.TxState0.r32.installReadCallback(read_from_ram, (uint8_t *)base);
+ APE.TxState0.r32.installWriteCallback(write_to_ram, (uint8_t *)base);
+
/** @brief Bitmap for @ref APE_t.Mode2. */
APE.Mode2.r32.installReadCallback(read_from_ram, (uint8_t *)base);
APE.Mode2.r32.installWriteCallback(write_to_ram, (uint8_t *)base);
OpenPOWER on IntegriCloud