diff options
| author | Evan Lojewski <github@meklort.com> | 2019-04-13 14:41:27 -0600 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-04-13 14:41:27 -0600 |
| commit | 9db4685b32a3ece9f0e95a1bc97b051c2019cb4a (patch) | |
| tree | 7f4b48bccaa5667b9414882bb8c3e31efbc2a505 /simulator/HAL.cpp | |
| parent | 19da364af4fd28d072f03b5f665885a4dc9cbe4c (diff) | |
| download | bcm5719-ortega-9db4685b32a3ece9f0e95a1bc97b051c2019cb4a.tar.gz bcm5719-ortega-9db4685b32a3ece9f0e95a1bc97b051c2019cb4a.zip | |
Split APE register region into two - mapped in different places based on host, mips, or ape cpu.
Diffstat (limited to 'simulator/HAL.cpp')
| -rw-r--r-- | simulator/HAL.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simulator/HAL.cpp b/simulator/HAL.cpp index 4984af9..31cff39 100644 --- a/simulator/HAL.cpp +++ b/simulator/HAL.cpp @@ -3,6 +3,7 @@ #include <bcm5719_DEVICE.h> #include <bcm5719_APE.h> +#include <bcm5719_APE_PERI.h> #include <bcm5719_SHM.h> #include <bcm5719_GEN.h> #include <APE_NVIC.h> @@ -258,6 +259,9 @@ bool initHAL(const char *pci_path, int wanted_function) init_bcm5719_APE(); init_bcm5719_APE_sim(APEBase); + init_bcm5719_APE_PERI(); + init_bcm5719_APE_PERI_sim(&APEBase[0x8000]); + init_bcm5719_SHM(); init_bcm5719_SHM_sim(&APEBase[0x4000]); |

