Added ICInvalidateRange to coreinit and modified Makefiles

This commit is contained in:
CreeperMario Games 2016-11-06 09:48:30 +10:30
parent 3aab93aa14
commit d7a2af2a0b
7 changed files with 13 additions and 5 deletions

View File

@ -74,6 +74,10 @@ DCTouchRange(void *addr,
uint32_t size);
void
ICInvalidateRange(void *addr,
uint32_t size);
#ifdef __cplusplus
}
#endif

View File

@ -49,6 +49,7 @@ EXPORT(DCFlushRangeNoSync);
EXPORT(DCStoreRangeNoSync);
EXPORT(DCZeroRange);
EXPORT(DCTouchRange);
EXPORT(ICInvalidateRange);
// coreinit/condition.h
EXPORT(OSInitCond);

View File

@ -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

View File

@ -15,6 +15,7 @@ all: $(TARGET)
clean:
@echo "[RM] $(notdir $(TARGET))"
@rm -rf $(TARGET)
@rm -rf ../$(TARGET)
install: all
@echo Installing $(TARGET)

View File

@ -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)

View File

@ -136,7 +136,7 @@ readRPL(RplInfo &info, std::ifstream &fh)
}
// Find strtab
auto shStrTab = reinterpret_cast<const char *>(sections[header.shstrndx].data.data());
//auto shStrTab = reinterpret_cast<const char *>(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;
}

View File

@ -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)