-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump version, and also detect if PSP is GO
- Loading branch information
Showing
14 changed files
with
129 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
.set noreorder | ||
|
||
#include "pspimport.s" | ||
|
||
// Build files | ||
// KUBridge_XXXX.o | ||
|
||
#ifdef F_KUBridge_0000 | ||
IMPORT_START "KUBridge",0x40090000 | ||
#endif | ||
#ifdef F_KUBridge_0001 | ||
IMPORT_FUNC "KUBridge",0x4C25EA72,kuKernelLoadModule | ||
#endif | ||
#ifdef F_KUBridge_0002 | ||
IMPORT_FUNC "KUBridge",0x8E5A4057,kuKernelInitApitype | ||
#endif | ||
#ifdef F_KUBridge_0003 | ||
IMPORT_FUNC "KUBridge",0x1742445F,kuKernelInitFileName | ||
#endif | ||
#ifdef F_KUBridge_0004 | ||
IMPORT_FUNC "KUBridge",0xB0B8824E,kuKernelInitKeyConfig | ||
#endif | ||
#ifdef F_KUBridge_0005 | ||
IMPORT_FUNC "KUBridge",0x60DDB4AE,kuKernelBootFrom | ||
#endif | ||
#ifdef F_KUBridge_0006 | ||
IMPORT_FUNC "KUBridge",0xA2ABB6D3,kuKernelGetUserLevel | ||
#endif | ||
#ifdef F_KUBridge_0007 | ||
IMPORT_FUNC "KUBridge",0xC4AF12AB,kuKernelSetDdrMemoryProtection | ||
#endif | ||
#ifdef F_KUBridge_0008 | ||
IMPORT_FUNC "KUBridge",0x24331850,kuKernelGetModel | ||
#endif | ||
#ifdef F_KUBridge_0009 | ||
IMPORT_FUNC "KUBridge",0x7A50075E,kuKernelPeekw | ||
#endif | ||
#ifdef F_KUBridge_0010 | ||
IMPORT_FUNC "KUBridge",0x0E73A39D,kuKernelPokew | ||
#endif | ||
#ifdef F_KUBridge_0011 | ||
IMPORT_FUNC "KUBridge",0x6B4B577F,kuKernelMemcpy | ||
#endif | ||
#ifdef F_KUBridge_0012 | ||
IMPORT_FUNC "KUBridge",0xD0D05A5B,kuKernelGetUmdFile | ||
#endif | ||
#ifdef F_KUBridge_0013 | ||
IMPORT_FUNC "KUBridge",0x1E9F0498,kuKernelLoadModuleWithApitype2 | ||
#endif | ||
#ifdef F_KUBridge_0014 | ||
IMPORT_FUNC "KUBridge",0x4B321167,kuKernelFindModuleByName | ||
#endif | ||
#ifdef F_KUBridge_0015 | ||
IMPORT_FUNC "KUBridge",0x9060F69D,kuKernelCall | ||
#endif | ||
#ifdef F_KUBridge_0016 | ||
IMPORT_FUNC "KUBridge",0x5C6C3DBA,kuKernelCallExtendStack | ||
#endif | ||
#ifdef F_KUBridge_0017 | ||
IMPORT_FUNC "KUBridge",0x219DE4D2,kuKernelIcacheInvalidateAll | ||
#endif | ||
#ifdef F_KUBridge_0018 | ||
IMPORT_FUNC "KUBridge",0x501E983D,kuKernelInitMode | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
TARGET=libpspkubridge.a | ||
|
||
all: $(TARGET) | ||
STUBSRC = KUBridge.S | ||
OBJS = \ | ||
KUBridge_0000.o \ | ||
KUBridge_0001.o \ | ||
KUBridge_0002.o \ | ||
KUBridge_0003.o \ | ||
KUBridge_0004.o \ | ||
KUBridge_0005.o \ | ||
KUBridge_0006.o \ | ||
KUBridge_0007.o \ | ||
KUBridge_0008.o \ | ||
KUBridge_0009.o \ | ||
KUBridge_0010.o \ | ||
KUBridge_0011.o \ | ||
KUBridge_0012.o \ | ||
KUBridge_0013.o \ | ||
KUBridge_0014.o \ | ||
KUBridge_0015.o \ | ||
KUBridge_0016.o \ | ||
KUBridge_0017.o \ | ||
KUBridge_0018.o \ | ||
|
||
PSPSDK=$(shell psp-config --pspsdk-path) | ||
|
||
CC=psp-gcc | ||
INCDIR = | ||
CFLAGS = -std=c99 -Os -G0 -Wall -fno-builtin-printf -I$(PSPSDK)/include | ||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti | ||
ASFLAGS = $(CFLAGS) | ||
LDFLAGS=-nodefaultlibs | ||
|
||
LIBDIR = | ||
|
||
include $(UMDREGIONROOT)/common/make/global.mak | ||
include $(UMDREGIONROOT)/common/make/beauty_stub.mak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters