mirror of
https://github.com/joel16/uofw.git
synced 2024-11-23 03:29:43 +00:00
parent
6f55a2ecc8
commit
ef94ca1aa5
7
.gitignore
vendored
7
.gitignore
vendored
@ -9,6 +9,10 @@ github-pages/
|
|||||||
exports.c
|
exports.c
|
||||||
/lib/libdebug.a
|
/lib/libdebug.a
|
||||||
/lib/build_mod.mak
|
/lib/build_mod.mak
|
||||||
|
utils/basic-decompiler/basic-decompiler
|
||||||
|
utils/build-exports/psp-build-exports
|
||||||
|
utils/fixup-imports/psp-fixup-imports
|
||||||
|
utils/kprxgen/psp-kprxgen
|
||||||
|
|
||||||
## Ignore Visual Studio project files, Visual Studio temporary files, build results.
|
## Ignore Visual Studio project files, Visual Studio temporary files, build results.
|
||||||
|
|
||||||
@ -42,3 +46,6 @@ ipch/
|
|||||||
|
|
||||||
# Visual Studio Code
|
# Visual Studio Code
|
||||||
/.vscode
|
/.vscode
|
||||||
|
|
||||||
|
# CLion
|
||||||
|
.idea/
|
||||||
|
4
Makefile
4
Makefile
@ -4,8 +4,8 @@ export ROOT_DIR
|
|||||||
|
|
||||||
MODULES=debug syscon \
|
MODULES=debug syscon \
|
||||||
kd/audio kd/chnnlsv kd/clockgen kd/codec kd/ctrl kd/exceptionman kd/ge kd/init kd/interruptman \
|
kd/audio kd/chnnlsv kd/clockgen kd/codec kd/ctrl kd/exceptionman kd/ge kd/init kd/interruptman \
|
||||||
kd/iofilemgr kd/led kd/libatrac3plus kd/loadcore kd/loadexec kd/mediaman kd/me_wrapper kd/modulemgr \
|
kd/iofilemgr kd/isofs kd/led kd/libatrac3plus kd/loadcore kd/loadexec kd/mediaman kd/me_wrapper \
|
||||||
kd/sysmem kd/systimer kd/usersystemlib kd/wlanfirm
|
kd/modulemgr kd/rtc kd/sysmem kd/systimer kd/usersystemlib kd/wlanfirm
|
||||||
|
|
||||||
all: $(MODULES)
|
all: $(MODULES)
|
||||||
|
|
||||||
|
@ -5,24 +5,26 @@
|
|||||||
#ifndef __RTC_H__
|
#ifndef __RTC_H__
|
||||||
#define __RTC_H__
|
#define __RTC_H__
|
||||||
|
|
||||||
|
#include "common_header.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
u16 year;
|
u16 year;
|
||||||
u16 month;
|
u16 month;
|
||||||
u16 day;
|
u16 day;
|
||||||
u16 hour;
|
u16 hour;
|
||||||
u16 minutes;
|
u16 minutes;
|
||||||
u16 seconds;
|
u16 seconds;
|
||||||
u32 microseconds;
|
u32 microseconds;
|
||||||
} pspTime;
|
} pspTime;
|
||||||
|
|
||||||
enum pspRtcCheckValidErrors {
|
enum pspRtcCheckValidErrors {
|
||||||
PSP_TIME_INVALID_YEAR = -1,
|
PSP_TIME_INVALID_YEAR = -1,
|
||||||
PSP_TIME_INVALID_MONTH = -2,
|
PSP_TIME_INVALID_MONTH = -2,
|
||||||
PSP_TIME_INVALID_DAY = -3,
|
PSP_TIME_INVALID_DAY = -3,
|
||||||
PSP_TIME_INVALID_HOUR = -4,
|
PSP_TIME_INVALID_HOUR = -4,
|
||||||
PSP_TIME_INVALID_MINUTES = -5,
|
PSP_TIME_INVALID_MINUTES = -5,
|
||||||
PSP_TIME_INVALID_SECONDS = -6,
|
PSP_TIME_INVALID_SECONDS = -6,
|
||||||
PSP_TIME_INVALID_MICROSECONDS = -7
|
PSP_TIME_INVALID_MICROSECONDS = -7
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -69,7 +71,7 @@ s32 sceRtcGetCurrentClockLocalTime(pspTime *time);
|
|||||||
* @param tickLocal - pointer to u64 to receive tick in local time
|
* @param tickLocal - pointer to u64 to receive tick in local time
|
||||||
* @return 0 on success, < 0 on error
|
* @return 0 on success, < 0 on error
|
||||||
*/
|
*/
|
||||||
void sceRtcConvertUtcToLocalTime(u64* tickUTC, const u64* tickLocal);
|
void sceRtcConvertUtcToLocalTime(u64 *tickUTC, const u64 *tickLocal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a local time based tickcount into a UTC-based tick count
|
* Convert a local time based tickcount into a UTC-based tick count
|
||||||
@ -78,7 +80,7 @@ void sceRtcConvertUtcToLocalTime(u64* tickUTC, const u64* tickLocal);
|
|||||||
* @param tickUTC - pointer to u64 to receive tick in UTC based time
|
* @param tickUTC - pointer to u64 to receive tick in UTC based time
|
||||||
* @return 0 on success, < 0 on error
|
* @return 0 on success, < 0 on error
|
||||||
*/
|
*/
|
||||||
void sceRtcConvertLocalTimeToUTC(const u64* tickLocal, u64* tickUTC);
|
void sceRtcConvertLocalTimeToUTC(const u64 *tickLocal, u64 *tickUTC);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a year is a leap year
|
* Check if a year is a leap year
|
||||||
@ -113,7 +115,7 @@ s32 sceRtcGetDayOfWeek(int year, int month, int day);
|
|||||||
* @param date - pointer to pspDate struct to be checked
|
* @param date - pointer to pspDate struct to be checked
|
||||||
* @return 0 on success, one of ::CheckValidErrors on error
|
* @return 0 on success, one of ::CheckValidErrors on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcCheckValid(const pspTime* date);
|
s32 sceRtcCheckValid(const pspTime *date);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a pspTime struct based on ticks
|
* Set a pspTime struct based on ticks
|
||||||
@ -122,7 +124,7 @@ s32 sceRtcCheckValid(const pspTime* date);
|
|||||||
* @param tick - pointer to ticks to convert
|
* @param tick - pointer to ticks to convert
|
||||||
* @return 0 on success, < 0 on error
|
* @return 0 on success, < 0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcSetTick(pspTime* date, const u64* tick);
|
s32 sceRtcSetTick(pspTime *date, const u64 *tick);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set ticks based on a pspTime struct
|
* Set ticks based on a pspTime struct
|
||||||
@ -131,7 +133,7 @@ s32 sceRtcSetTick(pspTime* date, const u64* tick);
|
|||||||
* @param tick - pointer to tick to set
|
* @param tick - pointer to tick to set
|
||||||
* @return 0 on success, < 0 on error
|
* @return 0 on success, < 0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcGetTick(const pspTime* date, u64 *tick);
|
s32 sceRtcGetTick(const pspTime *date, u64 *tick);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare two ticks
|
* Compare two ticks
|
||||||
@ -140,7 +142,7 @@ s32 sceRtcGetTick(const pspTime* date, u64 *tick);
|
|||||||
* @param tick2 - poiinter to second tick
|
* @param tick2 - poiinter to second tick
|
||||||
* @return 0 on equal, <0 when tick1 < tick2, >0 when tick1 > tick2
|
* @return 0 on equal, <0 when tick1 < tick2, >0 when tick1 > tick2
|
||||||
*/
|
*/
|
||||||
s32 sceRtcCompareTick(const u64* tick1, const u64* tick2);
|
s32 sceRtcCompareTick(const u64 *tick1, const u64 *tick2);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add two ticks
|
* Add two ticks
|
||||||
@ -150,7 +152,7 @@ s32 sceRtcCompareTick(const u64* tick1, const u64* tick2);
|
|||||||
* @param numTicks - number of ticks to add
|
* @param numTicks - number of ticks to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddTicks(u64* destTick, const u64* srcTick, u64 numTicks);
|
s32 sceRtcTickAddTicks(u64 *destTick, const u64 *srcTick, u64 numTicks);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of ms to a tick
|
* Add an amount of ms to a tick
|
||||||
@ -160,7 +162,7 @@ s32 sceRtcTickAddTicks(u64* destTick, const u64* srcTick, u64 numTicks);
|
|||||||
* @param numMS - number of ms to add
|
* @param numMS - number of ms to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddMicroseconds(u64* destTick, const u64* srcTick, u64 numMS);
|
s32 sceRtcTickAddMicroseconds(u64 *destTick, const u64 *srcTick, u64 numMS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of seconds to a tick
|
* Add an amount of seconds to a tick
|
||||||
@ -170,7 +172,7 @@ s32 sceRtcTickAddMicroseconds(u64* destTick, const u64* srcTick, u64 numMS);
|
|||||||
* @param numSecs - number of seconds to add
|
* @param numSecs - number of seconds to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddSeconds(u64* destTick, const u64* srcTick, u64 numSecs);
|
s32 sceRtcTickAddSeconds(u64 *destTick, const u64 *srcTick, u64 numSecs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of minutes to a tick
|
* Add an amount of minutes to a tick
|
||||||
@ -180,7 +182,7 @@ s32 sceRtcTickAddSeconds(u64* destTick, const u64* srcTick, u64 numSecs);
|
|||||||
* @param numMins - number of minutes to add
|
* @param numMins - number of minutes to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddMinutes(u64* destTick, const u64* srcTick, u64 numMins);
|
s32 sceRtcTickAddMinutes(u64 *destTick, const u64 *srcTick, u64 numMins);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of hours to a tick
|
* Add an amount of hours to a tick
|
||||||
@ -190,7 +192,7 @@ s32 sceRtcTickAddMinutes(u64* destTick, const u64* srcTick, u64 numMins);
|
|||||||
* @param numHours - number of hours to add
|
* @param numHours - number of hours to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddHours(u64* destTick, const u64* srcTick, int numHours);
|
s32 sceRtcTickAddHours(u64 *destTick, const u64 *srcTick, int numHours);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of days to a tick
|
* Add an amount of days to a tick
|
||||||
@ -200,7 +202,7 @@ s32 sceRtcTickAddHours(u64* destTick, const u64* srcTick, int numHours);
|
|||||||
* @param numDays - number of days to add
|
* @param numDays - number of days to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddDays(u64* destTick, const u64* srcTick, int numDays);
|
s32 sceRtcTickAddDays(u64 *destTick, const u64 *srcTick, int numDays);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of weeks to a tick
|
* Add an amount of weeks to a tick
|
||||||
@ -210,7 +212,7 @@ s32 sceRtcTickAddDays(u64* destTick, const u64* srcTick, int numDays);
|
|||||||
* @param numWeeks - number of weeks to add
|
* @param numWeeks - number of weeks to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddWeeks(u64* destTick, const u64* srcTick, int numWeeks);
|
s32 sceRtcTickAddWeeks(u64 *destTick, const u64 *srcTick, int numWeeks);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -221,7 +223,7 @@ s32 sceRtcTickAddWeeks(u64* destTick, const u64* srcTick, int numWeeks);
|
|||||||
* @param numMonths - number of months to add
|
* @param numMonths - number of months to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddMonths(u64* destTick, const u64* srcTick, int numMonths);
|
s32 sceRtcTickAddMonths(u64 *destTick, const u64 *srcTick, int numMonths);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an amount of years to a tick
|
* Add an amount of years to a tick
|
||||||
@ -231,14 +233,14 @@ s32 sceRtcTickAddMonths(u64* destTick, const u64* srcTick, int numMonths);
|
|||||||
* @param numYears - number of years to add
|
* @param numYears - number of years to add
|
||||||
* @return 0 on success, <0 on error
|
* @return 0 on success, <0 on error
|
||||||
*/
|
*/
|
||||||
s32 sceRtcTickAddYears(u64* destTick, const u64* srcTick, int numYears);
|
s32 sceRtcTickAddYears(u64 *destTick, const u64 *srcTick, int numYears);
|
||||||
|
|
||||||
//s32 sceRtcSetTime_t(pspTime* date, const time_t time);
|
//s32 sceRtcSetTime_t(pspTime* date, const time_t time);
|
||||||
//s32 sceRtcGetTime_t(const pspTime* date, time_t *time);
|
//s32 sceRtcGetTime_t(const pspTime* date, time_t *time);
|
||||||
s32 sceRtcSetDosTime(pspTime* date, u32 dosTime);
|
s32 sceRtcSetDosTime(pspTime *date, u32 dosTime);
|
||||||
s32 sceRtcGetDosTime(pspTime* date, u32 dosTime);
|
s32 sceRtcGetDosTime(pspTime *date, u32 dosTime);
|
||||||
s32 sceRtcSetWin32FileTime(pspTime* date, u64* win32Time);
|
s32 sceRtcSetWin32FileTime(pspTime *date, u64 *win32Time);
|
||||||
s32 sceRtcGetWin32FileTime(pspTime* date, u64* win32Time);
|
s32 sceRtcGetWin32FileTime(pspTime *date, u64 *win32Time);
|
||||||
|
|
||||||
s32 sceRtcParseDateTime(u64 *destTick, const char *dateString);
|
s32 sceRtcParseDateTime(u64 *destTick, const char *dateString);
|
||||||
|
|
@ -71,6 +71,8 @@ int sceKernelWaitThreadEndCB(SceUID thid, SceUInt *timeout);
|
|||||||
int sceKernelReleaseWaitThread(SceUID thid);
|
int sceKernelReleaseWaitThread(SceUID thid);
|
||||||
int sceKernelSuspendAllUserThreads(void);
|
int sceKernelSuspendAllUserThreads(void);
|
||||||
|
|
||||||
|
int sceKernelExtendKernelStack(int type, s32 (*cb)(void*), void *arg);
|
||||||
|
|
||||||
unsigned int sceKernelGetSystemTimeLow(void);
|
unsigned int sceKernelGetSystemTimeLow(void);
|
||||||
|
|
||||||
enum SceUserLevel {
|
enum SceUserLevel {
|
||||||
|
38
include/umdman.h
Normal file
38
include/umdman.h
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/* Copyright (C) 2011, 2012, 2013 The uOFW team
|
||||||
|
See the file COPYING for copying permission.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef UMDMAN_H
|
||||||
|
#define UMDMAN_H
|
||||||
|
|
||||||
|
#include "common_header.h"
|
||||||
|
|
||||||
|
// TODO: unfinished header
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
u32 unk0;
|
||||||
|
u32 cmd;
|
||||||
|
u32 lbn;
|
||||||
|
u32 lbnSize;
|
||||||
|
u32 size;
|
||||||
|
// how many bytes to read from sectors into 64 bytes aligned output
|
||||||
|
u32 byteSizeMiddle;
|
||||||
|
// how many bytes to read from the first read sector into not 64 bytes aligned output
|
||||||
|
u32 byteSizeFirst;
|
||||||
|
// how many bytes to read from the last read sector into not 64 bytes aligned output
|
||||||
|
u32 byteSizeLast;
|
||||||
|
u32 unk20;
|
||||||
|
} LbnParams;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
u32 unk0;
|
||||||
|
u32 lbn;
|
||||||
|
u32 unk8;
|
||||||
|
u32 lbnSize;
|
||||||
|
} PrepareIntoCacheParams;
|
||||||
|
|
||||||
|
s32 sceUmdMan_driver_65E2B3E0();
|
||||||
|
s32 sceUmdManUnRegisterInsertEjectUMDCallBack(s32 id);
|
||||||
|
s32 sceUmdManRegisterInsertEjectUMDCallBack(s32 id, void *cb, void *cbArg);
|
||||||
|
|
||||||
|
#endif /* UMDMAN_H */
|
BIN
lib/libsceRtc.a
BIN
lib/libsceRtc.a
Binary file not shown.
BIN
lib/libsceRtc_driver.a
Normal file
BIN
lib/libsceRtc_driver.a
Normal file
Binary file not shown.
BIN
lib/libsceUmd.a
Normal file
BIN
lib/libsceUmd.a
Normal file
Binary file not shown.
BIN
lib/libsceUmdMan_driver.a
Normal file
BIN
lib/libsceUmdMan_driver.a
Normal file
Binary file not shown.
BIN
lib/libsceUmdUser.a
Normal file
BIN
lib/libsceUmdUser.a
Normal file
Binary file not shown.
12
src/kd/isofs/Makefile
Normal file
12
src/kd/isofs/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright (C) 2011, 2012 The uOFW team
|
||||||
|
# See the file COPYING for copying permission.
|
||||||
|
|
||||||
|
TARGET = isofs
|
||||||
|
OBJS = isofs.o
|
||||||
|
|
||||||
|
DEBUG = 0
|
||||||
|
|
||||||
|
LIBS = -lInterruptManagerForKernel -lSysMemForKernel -lSysclibForKernel -lThreadManForKernel \
|
||||||
|
-lIoFileMgrForKernel -lsceRtc_driver -lsceUmd -lsceUmdMan_driver
|
||||||
|
|
||||||
|
include $(ROOT_DIR)/lib/build.mak
|
11
src/kd/isofs/exports.exp
Normal file
11
src/kd/isofs/exports.exp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Export file automatically generated with prxtool
|
||||||
|
PSP_BEGIN_EXPORTS
|
||||||
|
|
||||||
|
PSP_EXPORT_START(syslib, 0x0000, 0x8000)
|
||||||
|
PSP_EXPORT_FUNC_HASH(module_start)
|
||||||
|
PSP_EXPORT_FUNC_HASH(module_reboot_before)
|
||||||
|
PSP_EXPORT_VAR_HASH(module_info)
|
||||||
|
PSP_EXPORT_VAR_HASH(module_sdk_version)
|
||||||
|
PSP_EXPORT_END
|
||||||
|
|
||||||
|
PSP_END_EXPORTS
|
3825
src/kd/isofs/isofs.c
Normal file
3825
src/kd/isofs/isofs.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -86,7 +86,7 @@ PSP_EXPORT_FUNC_NID(sceRtc_driver_74772CCC, 0x74772CCC)
|
|||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_77138347, 0x77138347)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_77138347, 0x77138347)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_7C6E9610, 0x7C6E9610)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_7C6E9610, 0x7C6E9610)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_7D8E37E1, 0x7D8E37E1)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_7D8E37E1, 0x7D8E37E1)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtcSetTick, 0x7ED29E40)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_7ED29E40, 0x7ED29E40)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_80F21937, 0x80F21937)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_80F21937, 0x80F21937)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_8413CADC, 0x8413CADC)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_8413CADC, 0x8413CADC)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_852255B8, 0x852255B8)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_852255B8, 0x852255B8)
|
||||||
@ -117,7 +117,7 @@ PSP_EXPORT_FUNC_NID(sceRtc_driver_CF76CFE5, 0xCF76CFE5)
|
|||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_DFF30673, 0xDFF30673)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_DFF30673, 0xDFF30673)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_E09880CF, 0xE09880CF)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_E09880CF, 0xE09880CF)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_E45726F6, 0xE45726F6)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_E45726F6, 0xE45726F6)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_E7B3ABF4, 0xE7B3ABF4)
|
PSP_EXPORT_FUNC_NID(sceRtcSetTick, 0xE7B3ABF4)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_E86D8FC0, 0xE86D8FC0)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_E86D8FC0, 0xE86D8FC0)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_E98FEC46, 0xE98FEC46)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_E98FEC46, 0xE98FEC46)
|
||||||
PSP_EXPORT_FUNC_NID(sceRtc_driver_ED15334F, 0xED15334F)
|
PSP_EXPORT_FUNC_NID(sceRtc_driver_ED15334F, 0xED15334F)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <syscon.h>
|
#include <syscon.h>
|
||||||
#include <threadman_kernel.h>
|
#include <threadman_kernel.h>
|
||||||
#include <interruptman.h>
|
#include <interruptman.h>
|
||||||
#include "rtc.h"
|
#include <rtc.h>
|
||||||
|
|
||||||
SCE_MODULE_INFO("sceRTC_Service", SCE_MODULE_KERNEL | SCE_MODULE_ATTR_CANT_STOP | SCE_MODULE_ATTR_EXCLUSIVE_LOAD | SCE_MODULE_ATTR_EXCLUSIVE_START, 1, 11);
|
SCE_MODULE_INFO("sceRTC_Service", SCE_MODULE_KERNEL | SCE_MODULE_ATTR_CANT_STOP | SCE_MODULE_ATTR_EXCLUSIVE_LOAD | SCE_MODULE_ATTR_EXCLUSIVE_START, 1, 11);
|
||||||
SCE_SDK_VERSION(SDK_VERSION);
|
SCE_SDK_VERSION(SDK_VERSION);
|
||||||
|
@ -2621,7 +2621,7 @@ void ThreadManForUser_BC80EC7C()
|
|||||||
*/
|
*/
|
||||||
// TODO: Reverse function sceKernelExtendKernelStack
|
// TODO: Reverse function sceKernelExtendKernelStack
|
||||||
// Subroutine sceKernelExtendKernelStack - Address 0x000152C0
|
// Subroutine sceKernelExtendKernelStack - Address 0x000152C0
|
||||||
int sceKernelExtendKernelStack(int type, void (*cb)(void*), void *arg)
|
int sceKernelExtendKernelStack(int type, s32 (*cb)(void*), void *arg)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
7
src/kd/umdman/Makefile
Normal file
7
src/kd/umdman/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Copyright (C) 2011, 2012, 2013, 2014 The uOFW team
|
||||||
|
# See the file COPYING for copying permission.
|
||||||
|
|
||||||
|
TARGET = umdman
|
||||||
|
OBJS = umdman.o
|
||||||
|
|
||||||
|
include $(ROOT_DIR)/lib/build.mak
|
93
src/kd/umdman/exports.exp
Normal file
93
src/kd/umdman/exports.exp
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
# Export file automatically generated with prxtool
|
||||||
|
PSP_BEGIN_EXPORTS
|
||||||
|
|
||||||
|
PSP_EXPORT_START(syslib, 0x0000, 0x8000)
|
||||||
|
PSP_EXPORT_FUNC_HASH(module_start)
|
||||||
|
PSP_EXPORT_FUNC_HASH(module_reboot_before)
|
||||||
|
PSP_EXPORT_VAR_HASH(module_info)
|
||||||
|
PSP_EXPORT_VAR_HASH(module_sdk_version)
|
||||||
|
PSP_EXPORT_END
|
||||||
|
|
||||||
|
PSP_EXPORT_START(sceUmdMan_driver, 0x0011, 0x0001)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_02069E94, 0x02069E94)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_0D3EA203, 0x0D3EA203)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_0DC8D26D, 0x0DC8D26D)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_0F648A61, 0x0F648A61)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_14D3381C, 0x14D3381C)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_17F40D76, 0x17F40D76)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_1B19A313, 0x1B19A313)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_1EC3FD42, 0x1EC3FD42)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_1F9AFFF4, 0x1F9AFFF4)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_1FE34641, 0x1FE34641)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_266580BB, 0x266580BB)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_27C1869A, 0x27C1869A)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_291AE376, 0x291AE376)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_2C5F9A65, 0x2C5F9A65)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_2CBE959B, 0x2CBE959B)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_2CE918B1, 0x2CE918B1)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_32FB5BB9, 0x32FB5BB9)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_34375DB0, 0x34375DB0)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_3A05AC3C, 0x3A05AC3C)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_3A6DE7D6, 0x3A6DE7D6)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdManRegisterInsertEjectUMDCallBack, 0x3C8C523D)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_406E8F99, 0x406E8F99)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_40BE225B, 0x40BE225B)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_43894A44, 0x43894A44)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_47E2B6D8, 0x47E2B6D8)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_4D3F98AF, 0x4D3F98AF)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_4FB913A3, 0x4FB913A3)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_50A22288, 0x50A22288)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_5219AF31, 0x5219AF31)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_57FDAC38, 0x57FDAC38)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_5AC94A3C, 0x5AC94A3C)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_6519F8D1, 0x6519F8D1)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_65E2B3E0, 0x65E2B3E0)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_6D17FD57, 0x6D17FD57)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_709E7035, 0x709E7035)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_736AE133, 0x736AE133)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_77E81350, 0x77E81350)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_78287331, 0x78287331)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_7BD87F0C, 0x7BD87F0C)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_806CE160, 0x806CE160)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_80D31D5D, 0x80D31D5D)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_81E5E7BE, 0x81E5E7BE)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_88162E10, 0x88162E10)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_8CFED611, 0x8CFED611)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_8DA33BBD, 0x8DA33BBD)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_8FF7C13A, 0x8FF7C13A)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_921E7B7D, 0x921E7B7D)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_9F106F73, 0x9F106F73)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_A684063D, 0xA684063D)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdManUnRegisterInsertEjectUMDCallBack, 0xA7536109)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_AD723306, 0xAD723306)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_AEF07041, 0xAEF07041)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_B01F65CE, 0xB01F65CE)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_B0A43DA7, 0xB0A43DA7)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_B89A44D1, 0xB89A44D1)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_B8DC7B48, 0xB8DC7B48)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_BD974D70, 0xBD974D70)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_BE985DA1, 0xBE985DA1)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_BEEE1B85, 0xBEEE1B85)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_C615D6C9, 0xC615D6C9)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_C8D137FA, 0xC8D137FA)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_CAD31025, 0xCAD31025)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_CADCF4E0, 0xCADCF4E0)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_CB794884, 0xCB794884)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_CC40BED8, 0xCC40BED8)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_D1478023, 0xD1478023)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_D29D7FF4, 0xD29D7FF4)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_D372D6F3, 0xD372D6F3)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_DA67B566, 0xDA67B566)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_E3716915, 0xE3716915)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_E779ECEF, 0xE779ECEF)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_EB0841CE, 0xEB0841CE)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_ED53D164, 0xED53D164)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_EEBF3121, 0xEEBF3121)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_F31D8208, 0xF31D8208)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_F5B8ED7B, 0xF5B8ED7B)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_F62A8245, 0xF62A8245)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_F861E69B, 0xF861E69B)
|
||||||
|
PSP_EXPORT_FUNC_NID(sceUmdMan_driver_FB74B6E9, 0xFB74B6E9)
|
||||||
|
PSP_EXPORT_END
|
||||||
|
|
||||||
|
PSP_END_EXPORTS
|
Loading…
Reference in New Issue
Block a user