summaryrefslogtreecommitdiffstats
path: root/simulator/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-06-29 11:34:55 -0600
committerEvan Lojewski <github@meklort.com>2019-06-29 11:34:55 -0600
commit4e9143d8ab7fe77339946b7bc37eec0820b00f2e (patch)
tree02c137f81b03b4f11daa244d87821a5f524b4030 /simulator/include
parent99dd644512cfef951ade6d2403a8cf2f43666b94 (diff)
downloadbcm5719-ortega-4e9143d8ab7fe77339946b7bc37eec0820b00f2e.tar.gz
bcm5719-ortega-4e9143d8ab7fe77339946b7bc37eec0820b00f2e.zip
SPlit the MIPS hal from the APE hal in the simulation code.
Diffstat (limited to 'simulator/include')
-rw-r--r--simulator/include/HAL.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/simulator/include/HAL.hpp b/simulator/include/HAL.hpp
index 198b782..4898f2c 100644
--- a/simulator/include/HAL.hpp
+++ b/simulator/include/HAL.hpp
@@ -2,15 +2,15 @@
///
/// @file HAL.h
///
-/// @project
+/// @project
///
-/// @brief C++ REgister wrapper code
+/// @brief C++ Register wrapper code
///
////////////////////////////////////////////////////////////////////////////////
///
////////////////////////////////////////////////////////////////////////////////
///
-/// @copyright Copyright (c) 2018, Evan Lojewski
+/// @copyright Copyright (c) 2019, Evan Lojewski
/// @cond
///
/// All rights reserved.
@@ -45,11 +45,12 @@
#ifndef HAL_H
#define HAL_H
-#include <bcm5719_DEVICE.h>
-#include <bcm5719_APE.h>
+#include <stdint.h>
+#include <stdbool.h>
bool is_supported(uint16_t vendor_id, uint16_t device_id);
bool initHAL(const char* pci_path, int wanted_function = 0);
+void initAPEHAL(void);
extern uint8_t *gDEVICEBase;
extern uint8_t *gAPEBase;
OpenPOWER on IntegriCloud