summaryrefslogtreecommitdiffstats
path: root/simulator/HAL.cpp
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-06-05 20:07:56 -0600
committerEvan Lojewski <github@meklort.com>2019-06-05 20:07:56 -0600
commit3316c3a0476e1ee438c1e5455fffd2cc526ccc56 (patch)
tree5cd8f588ae3195dc8bcbf5f8fc089df880f7b39d /simulator/HAL.cpp
parentf875da7fe4e842cc229871313c740dfb61b1784f (diff)
downloadbcm5719-ortega-3316c3a0476e1ee438c1e5455fffd2cc526ccc56.tar.gz
bcm5719-ortega-3316c3a0476e1ee438c1e5455fffd2cc526ccc56.zip
Rename FILTERS to FILTERS0 to match the rest of the APE network peripherals.
Diffstat (limited to 'simulator/HAL.cpp')
-rw-r--r--simulator/HAL.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/simulator/HAL.cpp b/simulator/HAL.cpp
index f5c8857..4ad672b 100644
--- a/simulator/HAL.cpp
+++ b/simulator/HAL.cpp
@@ -11,7 +11,7 @@
#include <bcm5719_SHM_CHANNEL3.h>
#include <bcm5719_GEN.h>
#include <APE_NVIC.h>
-#include <APE_FILTERS.h>
+#include <APE_FILTERS0.h>
#include <APE_TX_PORT0.h>
#include <APE_RX_PORT0.h>
#include <APE_TX_PORT1.h>
@@ -20,6 +20,9 @@
#include <APE_RX_PORT2.h>
#include <APE_TX_PORT3.h>
#include <APE_RX_PORT3.h>
+// #include <APE_DEVICE1.h>
+// #include <APE_DEVICE2.h>
+// #include <APE_DEVICE3.h>
#include <dirent.h>
#include <endian.h>
@@ -284,8 +287,8 @@ bool initHAL(const char *pci_path, int wanted_function)
init_bcm5719_SHM_CHANNEL3();
init_bcm5719_SHM_CHANNEL3_sim(&APEBase[0x4c00]);
- init_APE_FILTERS();
- init_APE_FILTERS_sim(NULL);
+ init_APE_FILTERS0();
+ init_APE_FILTERS0_sim(NULL);
init_APE_NVIC();
init_APE_NVIC_sim(NULL);
@@ -314,5 +317,11 @@ bool initHAL(const char *pci_path, int wanted_function)
init_APE_RX_PORT3();
init_APE_RX_PORT3_sim(NULL);
+ // init_APE_DEVICE1();
+ // init_APE_DEVICE1_sim(NULL);
+ // init_APE_DEVICE2();
+ // init_APE_DEVICE2_sim(NULL);
+ // init_APE_DEVICE3();
+ // init_APE_DEVICE3_sim(NULL);
return true;
}
OpenPOWER on IntegriCloud