summaryrefslogtreecommitdiffstats
path: root/simulator/APE_DEVICE_sim.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-01-30 22:09:09 -0700
committerGitHub <noreply@github.com>2020-01-30 22:09:09 -0700
commit0a2e0fb0785e27153e58c17d3ef1fdaaa82016e3 (patch)
tree4c2fc63d2607b26ec2c715abf01e3f8aabdd390c /simulator/APE_DEVICE_sim.cpp
parenta17825de6b35ab27f09b3fcaa001343a02307c86 (diff)
downloadbcm5719-ortega-0a2e0fb0785e27153e58c17d3ef1fdaaa82016e3.tar.gz
bcm5719-ortega-0a2e0fb0785e27153e58c17d3ef1fdaaa82016e3.zip
ipxact: Add additional register definitions. (#22)
Diffstat (limited to 'simulator/APE_DEVICE_sim.cpp')
-rw-r--r--simulator/APE_DEVICE_sim.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/simulator/APE_DEVICE_sim.cpp b/simulator/APE_DEVICE_sim.cpp
index 35fdee0..7593ccd 100644
--- a/simulator/APE_DEVICE_sim.cpp
+++ b/simulator/APE_DEVICE_sim.cpp
@@ -212,6 +212,10 @@ void init_APE_DEVICE_sim(void *arg0)
DEVICE.TransmitMacStatus.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.TransmitMacStatus.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+ /** @brief Bitmap for @ref DEVICE_t.TransmitMacLengths. */
+ DEVICE.TransmitMacLengths.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.TransmitMacLengths.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+
/** @brief Bitmap for @ref DEVICE_t.ReceiveMacMode. */
DEVICE.ReceiveMacMode.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.ReceiveMacMode.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
@@ -256,6 +260,14 @@ void init_APE_DEVICE_sim(void *arg0)
DEVICE.SgmiiStatus.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.SgmiiStatus.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+ /** @brief Bitmap for @ref DEVICE_t.ReceiveListPlacementMode. */
+ DEVICE.ReceiveListPlacementMode.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.ReceiveListPlacementMode.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+
+ /** @brief Bitmap for @ref DEVICE_t.ReceiveListPlacementStatus. */
+ DEVICE.ReceiveListPlacementStatus.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.ReceiveListPlacementStatus.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+
/** @brief Bitmap for @ref DEVICE_t.CpmuControl. */
DEVICE.CpmuControl.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.CpmuControl.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
@@ -268,6 +280,10 @@ void init_APE_DEVICE_sim(void *arg0)
DEVICE.LinkAwarePowerModeClockPolicy.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.LinkAwarePowerModeClockPolicy.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+ /** @brief Bitmap for @ref DEVICE_t.ApeSleepStateClockPolicy. */
+ DEVICE.ApeSleepStateClockPolicy.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.ApeSleepStateClockPolicy.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
+
/** @brief Bitmap for @ref DEVICE_t.ClockSpeedOverridePolicy. */
DEVICE.ClockSpeedOverridePolicy.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
DEVICE.ClockSpeedOverridePolicy.r32.installWriteCallback(loader_write_mem, (uint8_t *)base);
OpenPOWER on IntegriCloud