summaryrefslogtreecommitdiffstats
path: root/simulator/APE_DEVICE_sim.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-07-14 20:07:52 -0600
committerGitHub <noreply@github.com>2020-07-14 20:07:52 -0600
commit437967699cf69896e6bb9c50979dbc17a4850ced (patch)
tree5ba05f80c7d304a4a7c7ea4cdd9674d06ad2b36e /simulator/APE_DEVICE_sim.cpp
parent74c4f25d634429c02cb7654bbd1a7ce742a3433e (diff)
downloadbcm5719-ortega-437967699cf69896e6bb9c50979dbc17a4850ced.tar.gz
bcm5719-ortega-437967699cf69896e6bb9c50979dbc17a4850ced.zip
regs: Add APE Clock Policy definitions. (#91)
Diffstat (limited to 'simulator/APE_DEVICE_sim.cpp')
-rw-r--r--simulator/APE_DEVICE_sim.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simulator/APE_DEVICE_sim.cpp b/simulator/APE_DEVICE_sim.cpp
index bbc715c..dea9965 100644
--- a/simulator/APE_DEVICE_sim.cpp
+++ b/simulator/APE_DEVICE_sim.cpp
@@ -280,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.ApeClkPolicy. */
+ DEVICE.ApeClkPolicy.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.ApeClkPolicy.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);
OpenPOWER on IntegriCloud