mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:40:44 +01:00
Merge pull request #47 from CreeperMario/master
Added ICInvalidateRange to coreinit and modified Makefiles
This commit is contained in:
commit
4afd8e16d2
@ -74,6 +74,10 @@ DCTouchRange(void *addr,
|
|||||||
uint32_t size);
|
uint32_t size);
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
ICInvalidateRange(void *addr,
|
||||||
|
uint32_t size);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -49,6 +49,7 @@ EXPORT(DCFlushRangeNoSync);
|
|||||||
EXPORT(DCStoreRangeNoSync);
|
EXPORT(DCStoreRangeNoSync);
|
||||||
EXPORT(DCZeroRange);
|
EXPORT(DCZeroRange);
|
||||||
EXPORT(DCTouchRange);
|
EXPORT(DCTouchRange);
|
||||||
|
EXPORT(ICInvalidateRange);
|
||||||
|
|
||||||
// coreinit/condition.h
|
// coreinit/condition.h
|
||||||
EXPORT(OSInitCond);
|
EXPORT(OSInitCond);
|
||||||
|
@ -26,6 +26,7 @@ install: all
|
|||||||
|
|
||||||
else
|
else
|
||||||
all:
|
all:
|
||||||
|
@mkdir -p $(CURDIR)/bin
|
||||||
@for dir in $(TARGETS); do \
|
@for dir in $(TARGETS); do \
|
||||||
echo; \
|
echo; \
|
||||||
echo Entering Directory $$dir; \
|
echo Entering Directory $$dir; \
|
||||||
@ -43,7 +44,7 @@ install: all
|
|||||||
@mkdir -p $(INSTALLDIR)/bin
|
@mkdir -p $(INSTALLDIR)/bin
|
||||||
@for dir in $(TARGETS); do \
|
@for dir in $(TARGETS); do \
|
||||||
echo Installing $$dir; \
|
echo Installing $$dir; \
|
||||||
cp $$dir/$$dir $(INSTALLDIR)/bin; \
|
cp bin/$$dir $(INSTALLDIR)/bin; \
|
||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ all: $(TARGET)
|
|||||||
clean:
|
clean:
|
||||||
@echo "[RM] $(notdir $(TARGET))"
|
@echo "[RM] $(notdir $(TARGET))"
|
||||||
@rm -rf $(TARGET)
|
@rm -rf $(TARGET)
|
||||||
|
@rm -rf ../$(TARGET)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo Installing $(TARGET)
|
@echo Installing $(TARGET)
|
||||||
|
@ -17,6 +17,7 @@ all: $(TARGET)
|
|||||||
clean:
|
clean:
|
||||||
@echo "[RM] $(notdir $(TARGET))"
|
@echo "[RM] $(notdir $(TARGET))"
|
||||||
@rm -rf $(TARGET)
|
@rm -rf $(TARGET)
|
||||||
|
@rm -rf ../$(TARGET)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo Installing $(TARGET)
|
@echo Installing $(TARGET)
|
||||||
@ -24,4 +25,4 @@ install: all
|
|||||||
|
|
||||||
$(TARGET): $(CFILES)
|
$(TARGET): $(CFILES)
|
||||||
@echo "[CXX] $(notdir $<)"
|
@echo "[CXX] $(notdir $<)"
|
||||||
$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC)
|
@$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC)
|
||||||
|
@ -136,7 +136,7 @@ readRPL(RplInfo &info, std::ifstream &fh)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Find strtab
|
// 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
|
// Print section data
|
||||||
for (auto i = 0u; i < sections.size(); ++i) {
|
for (auto i = 0u; i < sections.size(); ++i) {
|
||||||
@ -336,4 +336,3 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ all: $(TARGET)
|
|||||||
clean:
|
clean:
|
||||||
@echo "[RM] $(notdir $(TARGET))"
|
@echo "[RM] $(notdir $(TARGET))"
|
||||||
@rm -rf $(TARGET)
|
@rm -rf $(TARGET)
|
||||||
|
@rm -rf ../$(TARGET)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo Installing $(TARGET)
|
@echo Installing $(TARGET)
|
||||||
@ -24,4 +25,4 @@ install: all
|
|||||||
|
|
||||||
$(TARGET): $(CFILES)
|
$(TARGET): $(CFILES)
|
||||||
@echo "[CXX] $(notdir $<)"
|
@echo "[CXX] $(notdir $<)"
|
||||||
$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC)
|
@$(CXX) $(CFLAGS) $(INCLUDES) $< -o $@ $(LDFLAGS) $(CPPFORMATSRC)
|
||||||
|
Loading…
Reference in New Issue
Block a user