diff --git a/include/coreinit/cache.h b/include/coreinit/cache.h index 96bfa6a..d164744 100644 --- a/include/coreinit/cache.h +++ b/include/coreinit/cache.h @@ -74,6 +74,10 @@ DCTouchRange(void *addr, uint32_t size); +void +ICInvalidateRange(void *addr, + uint32_t size); + #ifdef __cplusplus } #endif diff --git a/rpl/libcoreinit/exports.h b/rpl/libcoreinit/exports.h index 04b7bb9..68529ad 100644 --- a/rpl/libcoreinit/exports.h +++ b/rpl/libcoreinit/exports.h @@ -49,6 +49,7 @@ EXPORT(DCFlushRangeNoSync); EXPORT(DCStoreRangeNoSync); EXPORT(DCZeroRange); EXPORT(DCTouchRange); +EXPORT(ICInvalidateRange); // coreinit/condition.h EXPORT(OSInitCond); diff --git a/tools/Makefile b/tools/Makefile index a20519b..3bf58f8 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -26,6 +26,7 @@ install: all else all: + @mkdir -p $(CURDIR)/bin @for dir in $(TARGETS); do \ echo; \ echo Entering Directory $$dir; \ @@ -43,7 +44,7 @@ install: all @mkdir -p $(INSTALLDIR)/bin @for dir in $(TARGETS); do \ echo Installing $$dir; \ - cp $$dir/$$dir $(INSTALLDIR)/bin; \ + cp bin/$$dir $(INSTALLDIR)/bin; \ done endif diff --git a/tools/elf2rpl/Makefile b/tools/elf2rpl/Makefile index 4673e15..4772e8e 100644 --- a/tools/elf2rpl/Makefile +++ b/tools/elf2rpl/Makefile @@ -15,6 +15,7 @@ all: $(TARGET) clean: @echo "[RM] $(notdir $(TARGET))" @rm -rf $(TARGET) + @rm -rf ../$(TARGET) install: all @echo Installing $(TARGET) diff --git a/tools/implcheck/Makefile b/tools/implcheck/Makefile index 55e2a24..5cd43e8 100644 --- a/tools/implcheck/Makefile +++ b/tools/implcheck/Makefile @@ -17,6 +17,7 @@ all: $(TARGET) clean: @echo "[RM] $(notdir $(TARGET))" @rm -rf $(TARGET) + @rm -rf ../$(TARGET) install: all @echo Installing $(TARGET) @@ -24,4 +25,4 @@ install: all $(TARGET): $(CFILES) @echo "[CXX] $(notdir $<)" - $(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC) + @$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC) diff --git a/tools/implcheck/main.cpp b/tools/implcheck/main.cpp index a7fb397..8316b0d 100644 --- a/tools/implcheck/main.cpp +++ b/tools/implcheck/main.cpp @@ -136,7 +136,7 @@ readRPL(RplInfo &info, std::ifstream &fh) } // Find strtab - auto shStrTab = reinterpret_cast(sections[header.shstrndx].data.data()); + //auto shStrTab = reinterpret_cast(sections[header.shstrndx].data.data()); // Print section data for (auto i = 0u; i < sections.size(); ++i) { @@ -336,4 +336,3 @@ int main(int argc, char **argv) return result; } - diff --git a/tools/readrpl/Makefile b/tools/readrpl/Makefile index ba74374..8d838e4 100644 --- a/tools/readrpl/Makefile +++ b/tools/readrpl/Makefile @@ -17,6 +17,7 @@ all: $(TARGET) clean: @echo "[RM] $(notdir $(TARGET))" @rm -rf $(TARGET) + @rm -rf ../$(TARGET) install: all @echo Installing $(TARGET) @@ -24,4 +25,4 @@ install: all $(TARGET): $(CFILES) @echo "[CXX] $(notdir $<)" - $(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC) + @$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC)