first commit

This commit is contained in:
Dan Peori
2010-10-18 12:54:49 -03:00
commit 8a3bef9012
612 changed files with 74685 additions and 0 deletions

23
src/openpsid/Makefile.am Normal file
View File

@@ -0,0 +1,23 @@
libdir = @PSPSDK_LIBDIR@
CC = @PSP_CC@
CCAS = $(CC)
AR = @PSP_AR@
RANLIB = @PSP_RANLIB@
INCLUDES = -I$(top_srcdir)/src/base -I$(top_srcdir)/src/kernel
CFLAGS = @PSPSDK_CFLAGS@
CCASFLAGS = $(CFLAGS) -I$(top_srcdir)/src/base -I$(top_srcdir)/src/kernel
OPENPSID_OBJS = sceOpenPSID_0000.o sceOpenPSID_0001.o
libpspopenspidincludedir = @PSPSDK_INCLUDEDIR@
libpspopenspidinclude_HEADERS = pspopenpsid.h
lib_LIBRARIES = libpspopenpsid.a
libpspopenpsid_a_SOURCES = sceOpenPSID.S
libpspopenpsid_a_LIBADD = $(OPENPSID_OBJS)
$(OPENPSID_OBJS): sceOpenPSID.S
$(COMPILE) -DF_$* $< -c -o $@

30
src/openpsid/pspopenpsid.h Executable file
View File

@@ -0,0 +1,30 @@
/*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* pspopenpsid.h - Prototypes for the OpenPSID library
*
* Copyright (c) 2008 InsertWittyName (David Perry)
*
*/
#ifndef __PSPOPENPSID_H__
#define __PSPOPENPSID_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef struct PspOpenPSID
{
unsigned char data[16];
} PspOpenPSID;
int sceOpenPSIDGetOpenPSID(PspOpenPSID *openpsid);
#ifdef __cplusplus
}
#endif
#endif /* __PSPOPENPSID_H__ */

View File

@@ -0,0 +1,13 @@
.set noreorder
#include "pspimport.s"
// Build List
// sceOpenPSID_0000.o sceOpenPSID_0001.o
#ifdef F_sceOpenPSID_0000
IMPORT_START "sceOpenPSID",0x40010011
#endif
#ifdef F_sceOpenPSID_0001
IMPORT_FUNC "sceOpenPSID",0xC69BEBCE,sceOpenPSIDGetOpenPSID
#endif