summaryrefslogtreecommitdiffstats
path: root/simulator/APE_DEVICE_sim.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-02-04 18:59:54 -0700
committerGitHub <noreply@github.com>2021-02-04 18:59:54 -0700
commit0265533188143e88cfef536f896e973d717af437 (patch)
tree34281c72eb238eb33a4e6066e2bae6447c708a90 /simulator/APE_DEVICE_sim.cpp
parent6ef8e4a66255ceb5744cecaca9e73aa194ba72f6 (diff)
downloadbcm5719-ortega-0265533188143e88cfef536f896e973d717af437.tar.gz
bcm5719-ortega-0265533188143e88cfef536f896e973d717af437.zip
ipxact: Add D0u Clock Policy register. (#194)
Diffstat (limited to 'simulator/APE_DEVICE_sim.cpp')
-rw-r--r--simulator/APE_DEVICE_sim.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/simulator/APE_DEVICE_sim.cpp b/simulator/APE_DEVICE_sim.cpp
index dea9965..f104cd8 100644
--- a/simulator/APE_DEVICE_sim.cpp
+++ b/simulator/APE_DEVICE_sim.cpp
@@ -10,7 +10,7 @@
///
////////////////////////////////////////////////////////////////////////////////
///
-/// @copyright Copyright (c) 2020, Evan Lojewski
+/// @copyright Copyright (c) 2021, Evan Lojewski
/// @cond
///
/// All rights reserved.
@@ -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.D0uClockPolicy. */
+ DEVICE.D0uClockPolicy.r32.installReadCallback(loader_read_mem, (uint8_t *)base);
+ DEVICE.D0uClockPolicy.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);
OpenPOWER on IntegriCloud