Commit Graph

194 Commits

Author SHA1 Message Date
John Kelley
e0685d57fe
Replace error constants with defined error codes (#77)
* Add more kernel error types from RE'd code

* Replace error constants with error defines in RE'd code
2021-01-21 10:20:50 +01:00
John Kelley
ef92f92e2d
Fix various warnings caught by GCC 9 in newer psp-toolchain (#76)
* Fix various warnings caught by GCC 9 in newer psp-toolchain

* Add -Wno-pragma so that GCC 4 will not barf on newer pragmas

* Incorporate PR feedback for tautological compares

* Fix function prototype for module_start and module_bootstart

* Fix moduleRebootBefore and moduleRebootPhase function pointer types

* Re-add __inline__ to implementation of getCyclicPolynomialHash
2021-01-19 11:10:24 +01:00
Arthur Blot
b65f4de6bf mesg_led: (almost) compiles 2021-01-07 20:25:32 +01:00
Felix-Dev
70c4d324d4 Add missing parantheses to macros introduced in commit 9c368cf1b3. 2021-01-06 18:32:54 +01:00
Felix-Dev
9c368cf1b3 Syscon: Add documentation about Baryon version and provide macros to extract specific Baryon version data. 2021-01-06 18:27:40 +01:00
Felix-Dev
b0146f24a2
Add Module Manager (#69)
* src/modulemgr: sceKernelQueryModuleInfo(): Improved documentation

* src/modulemgr: Fixed various incorrect SDK versions

* src/modulemgr.c: sceKernelQueryModuleInfo(): Fixed two syntax errors.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleWithBlockOffset().

* src/modulemgr/modulemgr.c: Fixed wrong handling of various sceIoIoctl() status values.

* src/modulemgr/modulemgr.c: Added missing sysmem_kernel.h include.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleByIDWithBlockOffset().

* src/modulemgr/modulemgr.c: Fixed register K1 permission checks in various user-exported loadModule() functions.

* src/modulemgr/modulemgr.c: sceKernelLoadModuleForUser(): Fixed handling of parameter "opt" when being NULL.

* src/modulemgr/modulemgr.c: Fixed sdkVersion return codes in various LoadModule() functions.

* include/iofilemgr_kernel.h: Added back SCE_O_UNKNOWN0.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleDNAS().

* src/modulemgr: Updated and added documentation

- Added documentation for sceKernelLoadModuleById(),
sceKernelLoadModuleWithBlockOffset(), and sceKernelLoadModuleDNAS
- Updated documentation of ModuleMgrForKernel_2B7FC10D(),
sceKernelLoadModule(), sceKernelGetModuleIdList(),
sceKernelQueryModuleInfo(), sceKernelGetModuleId(),
sceKernelGetModuleIdByAddress(), and sceKernelGetModuleGPByAddress()

* src/modulemgr: Updated documentation: case when SCE_ERROR_KERNEL_ILLEGAL_ADDRESS is returned

Affects sceKernelLoadModuleWithBlockOffset() and
sceKernelLoadModuleByIDWithBlockOffset().

* src/modulemgr: sceKernelLoadModuleDNAS(): Forgot a word in documentation

* src/modulemgr: sceKernelLoadModuleDNAS(): Forgot quotation marks in documentation

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleNpDrm().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleMs().

* src/modulemgr/modulemgr.c: Added sceKernelSelfStopUnloadModule().

* src/modulemgr/modulemgr.c: Added sceKernelStopModule().

* src/modulemgr: sceKernelLoadModuleNpDrm(): Fixed a pointer issue

* include/common/memory.h: Added pspClearMemory*() functions. These functions should be used as an alternative to corresponding memset calls.

* src/modulemgr/modulemgr.c: Replaced the variable <modParams> clearing-for-loops with the pspClearMemory32() function.

* src/modulemgr: sceKernelLoadModuleNpDrm(): Added documentation

* src/modulemgr: Added sceKernelLoadModuleBufferUsbWlan()

* src/modulemgr: sceKernelLoadModuleBufferUsbWlan(): Fixed return type

* src/modulemgr: Added _LoadModuleByBufferID()

* src/modulemgr: Added _start_exe_thread()

* src/modulemgr: Added sub_00007620()

* src/modulemgr: Added sub_00007698()

* src/modulemgr: Rename sub_00007620() to _CheckOption()

* src/modulemgr: _CheckOption(): Fix return type

* src/modulemgr: Added _SelfStopUnloadModule()

* src/modulemgr/: Added loadModuleChecks_inline.h containing commonly used checks in loadModule() functions. The check functions introduced there should be used in loadModule() functions.

* src/modulemgr/modulemgr.c: Preparations for the use of _check functions().

* src/modulemgr/modulemgr.c: Removed _CheckOptions(). Its equivalent function is _checkLMOptionConditions() defined in loadModuleChecks_inline.h.

* src/modulemgr/modulemgr.c: loadModule _check() functions are now being used.

* src/modulemgr/loadModuleChecks_inline.h: Removed _setupChecks() and _terminateChecks().

* src/modulemgr/modulemgr.c: Fixed _SelfStopUnloadModule().

* src/modulemgr/modulemgr.c: Forgot to fix pointer errors in _SelfStopUnloadModule() in previous commit.

* src/modulemgr/modulemgr.c: Added _EpilogueModule().

* src/modulemgr: Added sub_000077F0()

* src/modulemgr: _EpilogueModule(): Replaced hardcoded size by sizeof()

* modulemgr: renamed sub_000077F0 to _StopUnloadSelfModuleWithStatus()

* src/modulemgr/modulemgr.c: Added _ModuleReleaseLibraries().

* src/modulemgr: Added _checkSMOptionConditions() and fixed small issues in _StopUnloadSelfModuleWithStatus().

* src/modulemgr/modulemgr.c: Added sceKernelStartModule().

* include/threadman_kernel: Added more thread attribute values.

* src/modulemgr/modulemgr.c: Added sceKernelRebootBeforeForUser().

* src/modulemgr/modulemgr.c: Added sceKernelRebootPhaseForKernel().

* src/modulemgr/modulemgr.c: Added sceKernelRebootBeforeForKernel().

* include/modulemgr_user.h: Added documentation for sceKernelLoadModuleMs().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDisc().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscUpdater().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscDebug().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscEmu().

* src/modulemgr/modulemgr.c: Added ModuleMgrForKernel_C2A5E6CA().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs1().

* added current work from months ago

* src/modulemgr: Cleaned modulemgr directory and added first code.

* src/modulemgr: Finished ModuleMgrInit().

* src/modulemgr: ModuleMgrInit(): Added ChunkInit() call.

* src/modulemgr: Added _ModuleMgrRebootBefore().

* include/threadman_kernel.h: Added sceKernelSuspendThread().

* src\modulemgr\modulemgr.c: Added functions to reverse

* src/modulemgr: Fixed ModuleMgrRebootBefore prefix

ModuleMgrRebootBefore was prefixed with _ although it's not an internal
function

* src/modulmgr: Added ModuleMgrRebootPhase().

* src/modulemgr: Added exe_thread().

* src/modulemgr: Added_UnloadModule().

* src/modulemgr: Fixed a mistake in_UnloadModule().

* src/modulemgr: Added sceKernelGetModuleId().

* src/modulemgr: sceKernelGetModuleId(): Clarified variable name and type.

* src/modulemgr: sceKernelGetModuleId(): Changed return type (forgot it in last commit) for clarification reasons.

* src/modulemgr: sceKernelGetModuleId(): Fixed K1 register handling.

* include/iofilemgr_kernel.h: Added more sceIoOpen() flags.

* src/modulemgr: Added sceKernelGetModuleIdByAddress()

* src/modulemgr: Documentation for sceKernelGetModuleId()

* src/modulemgr: sceKernelGetModuleIdByAddress():  Fixed pspK1PtrOk() argument

* src/modulemgr: Added sceKernelGetModuleGPByAddress()

* src/modulemgr: Fixed missing const statement in arguments

* include/iofilemgr_kernel.h: Added sceKernelLoadModuleForLoadExecForUser().

* src/modulemgr.c: sceKernelGetModuleGPByAddress(): Added retVal declaration.

* src/modulemgr.c: sceKernelLoadModuleForLoadExecForUser(): Added back SCeUID fd declaration (it was eaten by some ghosts I guess).

* src/modulemgr: Added sceKernelGetModuleIdList()

* src/modulemgr: Added sceKernelLoadModule()

* src/modulemgr: sceKernelLoadModuleForLoadExecForUser(): Fixed pointer issues, added some comments

* src/modulemgr: sceKernelLoadModule(): Fixed missing structure field set

* src/modulemgr: sceKernelLoadModuleForLoadExecForUser() and sceKernelLoadModule(): Added documentation

* src/modulemgr: struct SceKernelLMOption: Added documentation

* src/modulemgr: sceKernelLoadModule(): Fixed return value

* src/modulemgr.c: Removed SceKernelLMOption declaration (it is already declared in include/modulemgr_options.h).

* include/modulemgr_options.h: Added back the doxygen documentation for SceKernelLMOption.

* src/modulemgr.c: Added sceKernelLoadModuleByID().

* src/modulemgr.c: sceKernelLoadModule(): Fixed ioctl command.

* src/modulemgr.c: Renamed sceKernelLoadModule() -> sceKernelLoadModuleForUser().

* src/modulemgr.c: sceKernelLoadModuleForUser(): Fixed ioctl command (another one).

* src/modulemgr: Added sceKernelQueryModuleInfo()

* src/modulemgr: sceKernelQueryModuleInfo(): Improved documentation

* src/modulemgr: Fixed various incorrect SDK versions

* src/modulemgr.c: sceKernelQueryModuleInfo(): Fixed two syntax errors.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleWithBlockOffset().

* src/modulemgr/modulemgr.c: Fixed wrong handling of various sceIoIoctl() status values.

* src/modulemgr/modulemgr.c: Added missing sysmem_kernel.h include.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleByIDWithBlockOffset().

* src/modulemgr/modulemgr.c: Fixed register K1 permission checks in various user-exported loadModule() functions.

* src/modulemgr/modulemgr.c: sceKernelLoadModuleForUser(): Fixed handling of parameter "opt" when being NULL.

* src/modulemgr/modulemgr.c: Fixed sdkVersion return codes in various LoadModule() functions.

* include/iofilemgr_kernel.h: Added back SCE_O_UNKNOWN0.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleDNAS().

* src/modulemgr: Updated and added documentation

- Added documentation for sceKernelLoadModuleById(),
sceKernelLoadModuleWithBlockOffset(), and sceKernelLoadModuleDNAS
- Updated documentation of ModuleMgrForKernel_2B7FC10D(),
sceKernelLoadModule(), sceKernelGetModuleIdList(),
sceKernelQueryModuleInfo(), sceKernelGetModuleId(),
sceKernelGetModuleIdByAddress(), and sceKernelGetModuleGPByAddress()

* src/modulemgr: Updated documentation: case when SCE_ERROR_KERNEL_ILLEGAL_ADDRESS is returned

Affects sceKernelLoadModuleWithBlockOffset() and
sceKernelLoadModuleByIDWithBlockOffset().

* src/modulemgr: sceKernelLoadModuleDNAS(): Forgot a word in documentation

* src/modulemgr: sceKernelLoadModuleDNAS(): Forgot quotation marks in documentation

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleNpDrm().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleMs().

* src/modulemgr/modulemgr.c: Added sceKernelSelfStopUnloadModule().

* src/modulemgr/modulemgr.c: Added sceKernelStopModule().

* src/modulemgr: sceKernelLoadModuleNpDrm(): Fixed a pointer issue

* include/common/memory.h: Added pspClearMemory*() functions. These functions should be used as an alternative to corresponding memset calls.

* src/modulemgr/modulemgr.c: Replaced the variable <modParams> clearing-for-loops with the pspClearMemory32() function.

* src/modulemgr: sceKernelLoadModuleNpDrm(): Added documentation

* src/modulemgr: Added sceKernelLoadModuleBufferUsbWlan()

* src/modulemgr: sceKernelLoadModuleBufferUsbWlan(): Fixed return type

* src/modulemgr: Added _LoadModuleByBufferID()

* src/modulemgr: Added _start_exe_thread()

* src/modulemgr: Added sub_00007620()

* src/modulemgr: Added sub_00007698()

* src/modulemgr: Rename sub_00007620() to _CheckOption()

* src/modulemgr: _CheckOption(): Fix return type

* src/modulemgr: Added _SelfStopUnloadModule()

* src/modulemgr/: Added loadModuleChecks_inline.h containing commonly used checks in loadModule() functions. The check functions introduced there should be used in loadModule() functions.

* src/modulemgr/modulemgr.c: Preparations for the use of _check functions().

* src/modulemgr/modulemgr.c: Removed _CheckOptions(). Its equivalent function is _checkLMOptionConditions() defined in loadModuleChecks_inline.h.

* src/modulemgr/modulemgr.c: loadModule _check() functions are now being used.

* src/modulemgr/loadModuleChecks_inline.h: Removed _setupChecks() and _terminateChecks().

* src/modulemgr/modulemgr.c: Fixed _SelfStopUnloadModule().

* src/modulemgr/modulemgr.c: Forgot to fix pointer errors in _SelfStopUnloadModule() in previous commit.

* src/modulemgr/modulemgr.c: Added _EpilogueModule().

* src/modulemgr: Added sub_000077F0()

* src/modulemgr: _EpilogueModule(): Replaced hardcoded size by sizeof()

* modulemgr: renamed sub_000077F0 to _StopUnloadSelfModuleWithStatus()

* src/modulemgr/modulemgr.c: Added _ModuleReleaseLibraries().

* src/modulemgr: Added _checkSMOptionConditions() and fixed small issues in _StopUnloadSelfModuleWithStatus().

* src/modulemgr/modulemgr.c: Added sceKernelStartModule().

* include/threadman_kernel: Added more thread attribute values.

* src/modulemgr/modulemgr.c: Added sceKernelRebootBeforeForUser().

* src/modulemgr/modulemgr.c: Added sceKernelRebootPhaseForKernel().

* src/modulemgr/modulemgr.c: Added sceKernelRebootBeforeForKernel().

* include/modulemgr_user.h: Added documentation for sceKernelLoadModuleMs().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDisc().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscUpdater().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscDebug().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHDiscEmu().

* src/modulemgr/modulemgr.c: Added ModuleMgrForKernel_C2A5E6CA().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs1().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs2().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs3().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs4().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs5().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecVSHMs6().

* src/modulemgr/modulemgr.c: Added ModuleMgrForKernel_8DD336D4().

* src/modulemgr: Simplified ModuleMgrRebootBefore(()

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForLoadExecNpDrm().

* src/modulemgr/modulemgr.c: Minor line indentation corrections.

* src/modulemgr/modulemgr.c: option-> pOpt name change in several functions.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleVSH().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleVSHByID().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleForKernel().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleByIDForKernel().

* src/modulemgr/modulemgr.c: Added more functions.

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferForExitGame() and sceKernelLoadModuleBufferMs().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferApp().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferForLoadExecBufferVSHUsbWlan().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferForLoadExecBufferVSHUsbWlanDebug().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferVSH().

* src/modulemgr/modulemgr.c: Added sceKernelLoadModuleBufferForExitVSHVSH().

* src/modulemgr/modulemgr.c: Added more functions.

* src/modulemgr/modulemgr.c: Added sceKernelUnloadModule().

* src/modulemgr/modulemgr.c: Added sceKernelSearchModuleByName().

* src/modulemgr/modulemgr.c: Added sceKernelSearchModuleByAddress().

* src/modulemgr/modulemgr.c: Added sceKernelSetNpDrmGetModuleKeyFunction().

* src/modulemgr/modulemgr.c: Added sceKernelNpDrmGetModuleKey().

* src/modulemgr/modulemgr.c: Added sceKernelModuleMgrMode().

* src/modulemgr/modulemgr.c: Added _StartModule().

* src/modulemgr/modulemgr.c: Added __StopModule().

* src/modulemgr/modulemgr.c: Added _PrologueModule().

* src/modulemgr/modulemgr.c: Added _ModuleRegisterLibraries().

* src/modulemgr/modulemgr.c: Fixed error in _ModuleReleaseLibraries().

* Moved NID_MODULE_* NIDs from src/loadcore/nid.h -> include/modulemgr_nids.h.

* src/modulemgr/modulemgr.c: Added _ProcessModuleExportEnt().

* include/loadcore.h: Renamed SceLoadCoreExecFileInfo.unk104 -> SceLoadCoreExecFileInfo.secureInstallId.

* include/sysmem_user.h: SceSysMemBlockType: Added more members.

* src/modulemgr/modulemgr.c: Added _LoadModule().

* src/modulemgr/modulemgr.c: Added _PartitionCheck().

* src/modulemgr/modulemgr.c: Added _CheckSkipPbpHeader().

* src/modulemgr/modulemgr.c: Fixes and reduced use of magic numbers

* src/modulemgr/modulemgr.c: Fixes and reduced use of magic numbers (2)

* src/modulemgr/modulemgr.c: Fixed mistake in sceKernelQueryModuleInfo().

* src/modulemgr/modulemgr.c: More small fixes and code cleanup.

* Modulemgr: Remove already reverse-engineered function

* src/modulemgr/modulemgr.c: Fixed a few compilation issues.

* src/modulemgr: Broke up modulemgr.c into several .c files.

* modulemgr: Reverse _CheckOverride()

- Move _CheckOverride() into a separate file

- Reverse _CheckOverride()

- Add the rules for overriding modules' file descriptors

* src/modulemgr/modulemgr.c: Fixed _CheckSkipPbpHeader.

* src/modulemgr/override.c: Fixed syntax errors.

* modulemgr: Fix more mistakes in override

* src/modulemgr: Added pbp.h ( .PBP header description).

* src/modulemgr/modulemgr.c: Added _RelocateModule().

* src/modulemgr/modulemgr.c: Fixed mistake in ModuleRegisterLibraries().

* include/sysmem_kernel.h: Updated prototype of sceKernelGetId().

* src/modulemgr/modulemgr.c: Added ModuleMgrForUser_CDE1C1FE().

* src/modulemgr/modulemgr.c: Added allocate_module_block().

* src/modulemgr/override.c: Fixed mistakes in _CheckOverride() and added more documentation about its purpose.

* modulemgr/rebootModule: Replace hexa with constant

* modulemgr/modulemgr: ModuleMgrForUser_CDE1C1FE(): s32 -> SceBool

* modulemgr: Fixes, re-writes, improved naming, added some documentation. It does not compile yet!

* modulemgr: Make it compilable.

* Removed include/modulemgr.h.

* src/modulemgr: Added missing Makefile.

* modulemgr: Updated its static libraries to reflect name changes of its exported functions.

* modulemgr: Made Loadcore and Loadexec compilable again. They were broken after changes have been made for modulemgr.

* modulemgr: Fixed a few mistakes.

* modulemgr: More fixes and updated some documentation.

* modulemgr: Added .PBP file layout and PARAM.SFO information.

* include/modulemgr_init.h: Added more SCE_EXEC_FILE_* members.

* include/common/errors.h: Added error-value format description.

* modulemgr: More fixes. Also added debug code for modulemgr (dbg.c). It will be removed before merging into 'master'.

* modulemgr: Added missing debug code.

* src/modulemgr: Fixed more errors.

* update .gitignore with version on master

* update .gitignore

* update .gitignore

* Module manager: Remove debug code

* Revert changes made to debug header.

* Add modulemgr to global makefile.

Co-authored-by: devnoname120 <devnoname120@gmail.com>
Co-authored-by: Felix-Dev <FelixDev91.gmail.com>
Co-authored-by: Kern Walster <wals0323@umn.edu>
Co-authored-by: Martin Charles <martincharles07@gmail.com>
Co-authored-by: devnoname120 <devnoname120+gh@gmail.com>
2021-01-02 16:30:44 +01:00
Felix-Dev
a0292a32a3
Controller module: Stop using custom API name (#67) 2021-01-02 01:36:51 +01:00
Felix-Dev
2b16aaaae2
Controller module: Update API naming and improve API documentation 2021-01-02 00:00:55 +01:00
Felix-Dev
d5bf38888e src/ctrl: Correctly applied SceCtrlData.Rx/Ry member introduction in f099b78dc0 to module code. 2018-10-27 19:24:29 +02:00
Felix-Dev
1e15137d38 src/ctrl: Applied member clarification introduced in f099b78dc0 to actual module code. 2018-10-27 08:26:11 +02:00
Bernard
f099b78dc0 Updated SceCtrlData and SceCtrlDataExt
Updated SceCtrlData and SceCtrlDataExt structs with inputs for DS3 controller
2017-09-24 15:39:01 -04:00
Bernard
d6a367f0ef Updated SceCtrlPadButtons
Updated SceCtrlPadButtons enum values and descriptions to account for DS3 controls
2017-09-24 15:15:02 -04:00
Felix-Dev
96adfcac15 include/net/lib_ssl.h: Fixed typo. 2016-08-08 00:26:24 +02:00
Felix-Dev
0cb5fcc3f2 include/sound/lib_ssl.h: Fixed misspelled include guard . 2016-08-08 00:24:38 +02:00
Felix-Dev
097b4848bb error code structure: Separated facility specific error codes from error codes commonly used throughout the kernel. include/errors.h now contains only commonly used errors. Facility specific error codes have their own header files. 2016-08-08 00:17:23 +02:00
Felix-Dev
339041f8dd include/errors.h: Began to separate specific error codes from commonly used error codes. 2016-08-05 00:51:56 +02:00
Felix-Dev
684347b231 Fixed doxygen docuemntation for umd_error.h and dnas_error.h. 2016-08-03 13:40:37 +02:00
Felix-Dev
924c3e3ec4 include/crypto/kirk.h: Added doxygen support. 2016-08-03 02:32:07 +02:00
Felix-Dev
8014c89e26 ddrdb: Code fixes, cleanups and updated documentation. 2016-08-03 02:12:24 +02:00
Felix-Dev
192ba6d352 include/modulemgr.h: Added more #define statements for module_start and module_stop functions. 2015-08-04 19:06:44 +02:00
Felix-Dev
ba8e22e4b4 include/threadman_kernel.h: Removed deprecated SceEventFlagWaitTypes enumeration. Use the #define values of format SCE_KERNEL_EW_* instead. 2015-06-04 20:21:26 +02:00
Felix-Dev
416f987f3d src/mediaman: Replaced two function names (with their NIDs as suffix) with their real names. 2015-05-31 20:47:10 +02:00
Felix-Dev
ad1c283d8e src/ctrl: Mostly cosmetic changes. 2015-05-29 00:10:23 +02:00
Felix-Dev
cb3abcdb91 src/ctrl: Fixes a bunch of mistakes in the controller module when obtaining input data from external input devices (i.e a DUALSHOCK®3 controller). 2015-05-27 20:38:41 +02:00
Kern
638a9ff325 include/dmacman.h: adding more information to SceDmaOp struct 2014-05-15 21:57:31 -05:00
Kern
d3ac9e71b9 include/dmacman.h: Added unk20 to SceDmaOp 2014-05-15 16:53:18 -05:00
Arthur Blot
3b598cc67e Fixed some warnings, and some mistakes by the way
These warnings exist with my version of gcc, but not Travis's
apparently. They include strict aliasing issues and out-of-range array indices.
2014-05-12 20:07:57 +02:00
Arthur Blot
f8a708ed3c Added a FB color fill debugging function 2014-05-11 22:48:06 +02:00
Kern
83097d2e8b reversing sceKernelDmaOpEnQueue 2014-05-11 11:31:51 -05:00
Kern
965af10f92 reversing sceKernelDmaOpSetCallback 2014-05-10 20:00:34 -05:00
Kern
2c5639f054 reversing sceKernelDmaOpFree and adding SceDmaOp struct 2014-05-10 19:34:43 -05:00
Felix-Dev
2ab2ed7a9b include/ctrl.h: Slightly modified parts of the controller module documentation. 2014-05-09 23:26:39 +02:00
Felix-Dev
fd5e4d8495 mediaman: This commit corrects the sceUmd_040A7090() function in src/mediaman.c. Previously, it was using wrong error code values (which have also been fixed in this commit) and one error code check was missing. In addition, several spelling mistakes introduced with the previous mediaman commit were corrected.
include/common/errors.h: As noted above, several error code defines were corrected and a 1.50 mistake-error-code list has been added.
2014-05-04 15:52:59 +02:00
Felix-Dev
d4299c1996 mediaman: Made a few cosmetic changes to src/mediaman.c. Added doxygen documents and included documentation how to read from the UMD drive. 2014-05-03 23:13:23 +02:00
Felix-Dev
b75b95a3c9 include/threadman_kernel.h: Added event flag attributes and more event wait types. 2014-05-03 23:09:14 +02:00
Clément G
ac648c0116 idstorage: create missing prototypes 2014-04-30 21:34:44 +02:00
Clément G
41bb9ec100 lowio: correct duplicate member in SceNandSpare_t 2014-04-30 21:20:28 +02:00
Clément G
758158240c idstorage: add prototypes in idstorage_int.h and idstorage.h 2014-04-30 21:19:44 +02:00
Clément G
6557cfb975 lowio: partial lowio_nand.h for idstorage 2014-04-30 20:32:00 +02:00
Clément G
85a401c66d mediaman: more NIDs, regen libs 2014-04-25 23:46:48 +01:00
Clément G
43ec507bd0 usersystemlib: avoid conflicting prototypes for sceKernelMemcpy 2014-04-25 23:10:52 +01:00
Clément G
41bd039ab6 usersystemlib: sceKernelGetTlsAddr NID and doc 2014-04-25 21:58:38 +01:00
Clément G
0fabd9914a threadman: add some decrypted NIDs, regenerate libs 2014-04-25 00:52:15 +01:00
devnoname120
6c7d4fe385 include\loadcore.h: Updated documentation of struct SceModule 2014-04-18 02:36:14 +02:00
devnoname120
23e7df9561 include\loadcore.h: fixed wrong structure field offset 2014-04-13 22:14:04 +02:00
Felix-Dev
a0707a76d7 include/ctrl.h: Updated the SCE_CTRL_INTERCEPTED description. 2014-03-30 20:22:19 +02:00
Felix
df396f8404 controller module: Updated enum constants and function parameters to use their original SONY names. Slightly modified the description of sceCtrlSetRapidFire()
located in include/ctrl.h.
2014-03-25 13:51:05 +01:00
Felix
c055ded15f include/common/module.h: Added SCE_MODULE_ATTR_NONE flag. 2014-03-25 13:36:29 +01:00
Felix
7c27c50ecb include/loadcore.h -> include/modulemgr.h: Moved module start/stop return values from loadcore.h to modulemgr.h 2014-03-25 13:33:10 +01:00
Felix
cd933860d8 include/mediaman_kernel.h: Updated a few function signatures. 2014-03-04 19:31:53 +01:00
Felix
7848360964 mediaman: Uploaded mediaman's header files. 2014-03-04 19:25:51 +01:00
Felix
e25a8791bf mediaman: Updated external header files used by mediaman. 2014-03-04 19:23:47 +01:00
Felix
5c58572b57 UMD error codes restructuring: Moved UMD specific error codes from common/errors.h to umd_error.h. 2014-03-04 19:07:15 +01:00
Arthur Blot
df43507f1f sysmem: renamed most unknown variable names 2013-07-08 17:00:44 +02:00
Arthur Blot
45d8d8f4c3 sysmem: fixed compilation, yay! (and loadcore) 2013-07-08 00:08:53 +02:00
Arthur Blot
1b3e149713 sysmem: Make it closer to compiling 2013-07-07 01:05:31 +02:00
Arthur Blot
2f00304510 sysmem: Added handy UID macros 2013-07-07 01:04:16 +02:00
Arthur Blot
0f6f54c217 Added UPALIGN8() to.. up-align to 8 2013-07-07 00:58:48 +02:00
Arthur Blot
2dff2288c4 Added pspWsbw() 2013-07-07 00:57:45 +02:00
Arthur Blot
ce8919b3f0 sysmem: initial commit, not compiling yet 2013-07-05 17:09:12 +02:00
Arthur Blot
e9a990f05a Now init.prx runs perfectly through the installer! 2013-05-07 23:16:56 +02:00
Felix
79b14ee97a initForKernel library: Added library code files into src/modulemgr and added its documentation in include/modulemgr_init.h 2013-05-04 00:44:17 +02:00
Felix
a8fe5d6cac loadcore.c: Fixed sceKernelSetBootCallbackLevel. 2013-04-27 23:24:28 +02:00
Felix
adc378b017 include/Doxyfile: Removed Doxyfile. 2013-04-27 16:05:14 +02:00
Felix
c3e09159e7 init: Updated header files. 2013-04-27 15:35:05 +02:00
Felix
8514d7c0a3 init: Updated header files used by init. 2013-04-25 21:57:39 +02:00
Arthur Blot
03361356c7 Loadexec: added headers 2013-04-13 21:32:54 +02:00
Arthur Blot
a9258addf3 Loadexec: fixed compilation, added documentation 2013-04-13 21:26:49 +02:00
Felix
90f2e45a45 include/modulemgr_init.h: Added SceInitApiType enumeration and more functions. 2013-04-13 14:27:01 +02:00
Felix
b6656a8fa3 common/memory.h: Fixed KCACHED macro 2013-04-11 20:32:31 +02:00
Felix
51cda08188 common/memory.h: Added PSP segment bases + sizes. Added KCACHED macro (for kernel cache). 2013-04-11 20:25:03 +02:00
Felix
4953a1ff50 loadcore: Added SceLoadCoreProtectInfo.attr handling. 2013-04-09 23:25:52 +02:00
Felix
11d335a990 include/common_asm.h: Added and should be included in every .S file. common.S: Updated. Loadcore, Usersystemlib: Applied common.S updates to .S files. 2013-04-08 20:42:08 +02:00
Felix
96de0e11d3 General code/documentation improvements. 2013-04-05 16:06:58 +02:00
Clément G
a9fe14f841 lowio: update lowio_i2c.h with protoypes used by clockgen 2013-04-01 20:34:11 +02:00
Clément Guérin
c76071f49c Merge pull request #4 from uofw/clockgen
Clockgen
2013-03-31 11:46:07 -07:00
Clément G
5f02206f3a clockgen: add header documentation 2013-03-31 20:38:04 +02:00
Clément G
b0cd703fc8 clockgen: corrected sceClockgenSetProtocol 2013-03-30 15:09:13 +01:00
Clément G
92552fb439 clockgen: corrected sceClockgenEnd 2013-03-30 15:07:59 +01:00
Clément G
63a2e90f56 clockgen: corrected sceClockgenInit 2013-03-30 15:05:27 +01:00
Clément G
a78c9f4a16 clockgen: added clockgen_int.h, now compiling 2013-03-29 22:54:16 +01:00
Clément G
7256037c50 libaac: well defined SceAacInitArg 2013-03-29 20:09:44 +01:00
Clément G
6f782313da libaac: some fixes 2013-03-29 19:21:01 +01:00
Clément G
498e5f5a68 libaac: make it compile 2013-03-28 16:43:06 +01:00
Clément G
93daaa324c libaac: initial header 2013-03-28 16:09:06 +01:00
Clément G
ad0f3fdc8b libaac: sub_000012B8 2013-03-28 15:36:34 +01:00
Clément G
06a67e0b2a libaac: sceAacGetSumDecodedSample 2013-03-28 14:43:53 +01:00
Felix
5eefa8c4e1 loadcore.h: Added module description. 2013-03-25 23:56:49 +01:00
Felix
4e3ec9c9fa systimer.h : Fixed doxygen group name. 2013-03-25 23:30:58 +01:00
Felix
e9580bd768 systimer.h : Made it doxygen compatible. - ctrl.h: Added module description. 2013-03-25 23:26:18 +01:00
Felix
b6d3439adf systimer.h : Added documentation. - systimer.c: Revised and added documentation.
ctrl.h: Small code improvements.
2013-03-25 23:18:48 +01:00
Clément G
7785dabbef libaac: better defined structures 2013-03-25 20:47:50 +01:00
Felix
126e9046aa led.h: Fixed typo. 2013-03-24 19:27:35 +01:00
Clément G
48bb713107 use \fixme 2013-03-24 11:15:52 +01:00
Clément G
a639d01b22 usersystemlib: improve header 2013-03-19 07:35:08 +01:00
Clément G
11a5ffea79 usersystemlib: add initial documentation, remove one useless line 2013-03-18 21:11:18 +01:00
Clément G
286ffbfaf1 usersystemlib: make it compile 2013-03-16 20:45:57 +01:00
Clément G
b9959ac05c threadman: add incomplete threadman_user.h 2013-03-16 20:45:48 +01:00
Clément G
120d26f0ef remove tmpCount, use SceSize 2013-03-15 00:30:25 +01:00
Clément Guérin
0e6f08de74 Merge pull request #3 from GeeckoDev/master
usersystemlib module
2013-03-14 07:34:21 -07:00