Commit Graph

163 Commits

Author SHA1 Message Date
Crementif
7831bb20a1 Add more FSStatFlags and add FSTimeToCalendarTime
This pull request adds:
 - Missing flags to FSStatFlags so that it's possible to recognize these (sym)links or encrypted files.
 - Adds the FSTimeToCalendarTime function which is used to convert the created and modified time of the FSStat entry.

These additions don't change anything and are only additive, so it won't break/change existing projects.

Credits to @koolkdev for figuring out the FSStat flags. I double-checked them and did some minor changes (unencrypted -> encrypted).
2022-04-15 16:49:44 +01:00
Maschell
6112345285 Add various functions used in root.rpx 2022-04-15 16:43:02 +01:00
Maschell
62b78f7b9f
coreinit: Add missing parameter to FSChangeMode/FSChangeModeAsync (#199) 2022-02-26 16:55:47 +01:00
Maschell
6d7b8fdda6 coreinit: Fix OSThreadLink struct 2022-02-11 22:26:26 +00:00
Maschell
f41f5a9865 coreinit: Add interrupts.h 2022-02-11 22:25:37 +00:00
Maschell
586c9fb13d coreinit: add scheduler.h 2022-02-11 22:25:07 +00:00
miku-666
a6dba64a15 Fixed typo 2022-02-11 22:24:28 +00:00
miku-666
ab5b0fee4b Add OSDynLoad_GetLoaderHeapStatistics 2022-02-11 22:24:28 +00:00
LRFLEW
de7c2a8070 Add OSForceFullRelaunch() declaration 2021-12-29 14:14:55 +01:00
Maschell
42be83dd8c coreinit: Add missing FSGetVolumeInfo to coreinit 2021-12-28 16:30:31 +01:00
Crayon2000
2ae085d528 Add definitions
Added:
* VPADDisablePowerButton
* VPADEnablePowerButton
* VPADBASEGetHeadphoneStatus
* VPADBASEGetGameControllerMode
* VPADBASESetGameControllerMode
* VPADBASEGetPowerButtonPressStatus
* VPADBASESetPowerButtonPressStatus
* VPADBASESetPowerButtonDisableMode
2021-03-04 19:47:45 +01:00
Maschell
aa31f61966 coreinit/filesystem: Add FSErrorFlag 2021-01-01 17:21:44 +01:00
Maschell
81d689ed76 coreinit: fix the description of OSDynLoad_AddNotifyCallback/OSDynLoad_DelNotifyCallback, create OSDynLoad_NotifyReason 2020-12-31 11:08:37 +00:00
Maschell
de3c7ad683 coreinit: add OSDynLoad_IsModuleLoaded 2020-12-31 11:08:37 +00:00
Maschell
3cb31a4cec coreinit: add OSDynLoad_AddNotifyCallback and OSDynLoad_DelNotifyCallback 2020-12-31 11:08:37 +00:00
Maschell
67d9211764 coreinit/messagequeue: Add OSGetDefaultAppIOQueue 2020-12-31 10:48:34 +00:00
James
23b541816f
Update energysaver.h
Fix Drc -> DRC and Tv -> TV
Fixes #154
2020-09-21 22:21:47 +01:00
Maschell
315f0856af
Add coreinit/bsp.h (#130)
* Add coreinit/bsp.h
- add enum BSPErrors
- add enum BSPHardwareVersions
- add function bspInitializeShimInterface
- add function bspGetHardwareVersion

See decaf for reference:
- 1dc2c3a278/src/libdecaf/src/ios/bsp/ios_bsp_enum.h
- dcd9bd1a08/src/libdecaf/src/cafe/libraries/coreinit/coreinit_bsp.h

* coreinit/bsp.h: fix enum declarations

* Add coreinit/bsp.h to the testsuite
2020-05-22 08:38:34 +10:00
Maschell
be5f1fc685
coreinit: Remove duplicate function (OSMemoryBarrier) (#135)
already exists in coreinit/cache.h
2020-05-22 08:35:59 +10:00
James Benton
8e4ffb2fc6 coreinit: Add OSDynLoad_GetNumberOfRPLs and OSDynLoad_GetRPLInfo. 2020-05-12 07:46:54 +01:00
James Benton
7492ff0483 Fix formatting.
Maybe we should start using clang-format for wut.
2020-05-07 15:29:59 +01:00
Maschell
e2e877decd
Add coreinit/cosreport.h (#131)
* Add coreinit/cosreport.h
- add enum COSReportLevel
- add enum COSReportModule
- add function COSVReport
- add function COSError
- add function COSInfo
- add function COSVerbose
- add function COSWarn

see decaf for reference:
- dcd9bd1a08/src/libdecaf/src/cafe/libraries/coreinit/coreinit_cosreport.h
- 1dc2c3a278/src/libdecaf/src/cafe/libraries/coreinit/coreinit_enum.h

* Fix formatting in coreinit/cosreport.h

* coreinit/cosreport.h: Fix enum declarations

* Add coreinit/cosreport.h to the testsuite
2020-05-07 23:50:21 +10:00
Maschell
a0412a90da
Add coreinit/userconfig.h (#132)
* Add coreinit/userconfig.h
- add enum UCCommand
- add enum UCDataType
- add enum UCErrors
- add enum UCFileSys
- add struct UCSysConfig
- add struct UCAsyncParams
- add function UCOpen
- add function UCClose
- add function UCDeleteSysConfig
- add function UCDeleteSysConfigAsync
- add function UCReadSysConfig
- add function UCReadSysConfigAsync
- add function UCWriteSysConfig
- add function UCWriteSysConfigAsync

See decaf for reference:
- b75f646a1e/src/libdecaf/src/cafe/libraries/coreinit/coreinit_userconfig.h
- 407f3f8093/src/libdecaf/src/ios/auxil/ios_auxil_enum.h

* Fix structs

* coreinit/userconfig.h: Add missing typedefs

* Add coreinit/userconfig.h to testsuite
2020-05-07 23:49:18 +10:00
Maschell
7950d62d0e
coreinit/cache.h: Add OSMemoryBarrier (#127)
- add function OSMemoryBarrier
2020-05-07 22:36:05 +10:00
Maschell
670ef1d342
coreinit/debug.h: Add OSIsDebuggerInitialized, OSIsDebuggerPresent, OSIsECOBoot, OSIsECOMode (#128)
- add function OSIsDebuggerInitialized
- add function OSIsDebuggerPresent
- add function OSIsECOBoot
- add function OSIsECOMode
2020-05-07 22:35:33 +10:00
Maschell
bab17a41c3
coreinit/memory.h: add OSMemoryBarrier, __OSZeroProcessMemory, OSGetSharedData (#126)
- add function OSMemoryBarrier
- add function __OSZeroProcessMemory
- add function OSGetSharedData + enum OSSharedDataType
2020-05-07 22:31:51 +10:00
rw-r-r-0644
8e69535604
cafe/coreinit: Identify remaining MCP app types (#124) 2020-05-02 10:49:56 +10:00
James Benton
090fd38606 coreinit: Fix DisassemblePPCOpcode return type. 2020-04-26 10:06:13 +01:00
James Benton
ddc3d0ad0e coreinit: Add declarations for OSReport{Verbose,Info,Warn}. 2020-01-18 10:45:28 +00:00
James Benton
8223bad1a3 coreinit/mcp: Fix MCAppType enum. 2019-11-19 21:44:23 +00:00
James Benton
695503571b coreinit: Fix MCPDevice structure. 2019-11-19 21:41:34 +00:00
Maschell
fe230e06cc coreinit: add OSGetOSID() and __OSGetProcessSDKVersion() 2019-11-19 21:35:48 +00:00
Maschell
d1d2da63ad mcp: update the MCPTitleListType struct 2019-11-19 21:34:40 +00:00
Maschell
b712686c38 mcp: update the MCPAppType struct 2019-11-19 21:34:40 +00:00
Ash Logan
28ffb89c02 Merge 'build-refactor' attempt #1; get upstream changes 2019-04-23 18:37:05 +10:00
Ash Logan
f92657e8b5 coreinit: Use rplwrap for exit (__rplwrap_exit) 2019-04-22 12:43:37 +10:00
Ash Logan
f7af9c3316 include/coreinit: First pass at coreinit/codegen.h 2019-04-22 10:12:28 +10:00
Ash Logan
0f4e01e769 include/coreinit: Add missing doxygen group end to memorymap.h 2019-02-21 08:55:08 +00:00
James Benton
7495a9997f coreinit: Add __OSValidateAddressSpaceRange. 2019-01-10 10:24:27 +00:00
James Benton
7bee4c7ca4 coreinit: Add OSIsAddressValid. 2019-01-10 10:05:14 +00:00
James Benton
80f57713b8 coreinit: Add DisassemblePPCOpcode. 2019-01-10 10:05:14 +00:00
BullyWiiPlaza
41e96a5421 Add missing wut offset checks 2019-01-09 09:47:28 +00:00
BullyWiiPlaza
ed4b52408b Add missing OSContext fields from Diibugger 2019-01-09 09:47:28 +00:00
James Benton
400318c3d1 Rename rpl_main to rpl_entry. 2018-09-30 08:40:38 +01:00
James Benton
e0c27d8a2f Fix IOSVec. 2018-09-14 11:39:03 +01:00
James Benton
7c9120db96 Add alignas specifiers for OSContext, OSSpinLock, OSThread. 2018-09-14 09:02:46 +01:00
James Benton
bc9ececcc1 Add some missing fields in FSStat. 2018-09-14 08:43:46 +01:00
Ash
c9b2013b72 include/coreinit: Fix up some more Doxygen briefs 2018-07-25 10:45:06 +10:00
Ash
33ae7587d6 include/coreinit: Shorten/rephrase some particularly long briefs 2018-07-25 10:38:31 +10:00
James
41073579f2
Merge pull request #82 from QuarkTheAwesome/master
COS Docs: Add Doxygen for coreinit/cache, coreinit/core and coreinit/screen
2018-07-24 05:37:53 -07:00