unified VC4 and ARM runtime code (including C++ runtime), updated some minor bits
[rpi-open-firmware.git] / arm_loader.cc
index 613df9c..9561e2e 100644 (file)
@@ -17,7 +17,7 @@ ARM initialization stuff.
 \r
 =============================================================================*/\r
 \r
-#include <common.h>\r
+#include <lib/runtime.h>\r
 #include "hardware.h"\r
 \r
 \r
@@ -215,7 +215,8 @@ static void arm_load_code() {
 }\r
 \r
 static void arm_pmap_enter(uint32_t bus_address, uint32_t arm_address) {\r
-       volatile uint32_t* tte = &ARM_TRANSLATE;\r
+       volatile uint32_t* tte = reinterpret_cast<volatile uint32_t*>(&ARM_TRANSLATE);\r
+\r
        uint32_t index = arm_address >> 24;\r
        uint32_t pte = bus_address >> 21;\r
 \r
This page took 0.022068 seconds and 4 git commands to generate.