Commit Graph

191 Commits

Author SHA1 Message Date
Maschell
8b68eebeaf coreinit: Add __OSSuspendThreadNolock 2023-02-10 00:56:58 +01:00
Maschell
73bb4dcbcc coreinit: Add missing fields and enum definitions to OSThread and OSContext 2023-02-10 00:56:58 +01:00
Maschell
55b1cd7f2c coreinit: Add some kernel related functions 2023-02-09 18:16:49 +01:00
Maschell
fe4bdafb92 coreinit: Add __OSConsoleWrite 2023-02-09 18:16:27 +01:00
Maschell
6e58348a04 coreinit: add OSGetCodegenVirtAddrRange 2023-02-09 18:15:55 +01:00
Maschell
ffebb519c4 coreinit: Add missing functions for setting the context 2023-02-09 18:15:40 +01:00
Maschell
65620ceab2 coreinit: Fix missing import in rendevouz.h 2023-02-09 18:15:18 +01:00
Maschell
ccca248af4 coreinit: Add missing (internal) structs 2023-02-09 18:14:56 +01:00
GaryOderNichts
a53d2bda6e coreinit/launch: Add OSLaunchTitle* functions 2023-02-04 16:48:52 +01:00
Xpl0itU
7530dd5818 Fix FSARequest padding 2023-01-22 14:48:27 +01:00
Xpl0itU
e0f8b378de Add FSARequestChangeOwner 2023-01-22 13:42:11 +01:00
GaryOderNichts
4ccc879aa9 coreinit: Add CopyData functions 2022-10-29 19:28:43 +02:00
miku-666
8cae5c050d Update FSStateChangeParams and add offset checks 2022-10-29 18:44:31 +02:00
Maschell
b417b8fbd4 coreinit: Add missing coreinit/context.h include in coreinit/interrupts.h 2022-09-22 17:32:16 +02:00
Maschell
80de7e3aac Add missing FSARequest/FSAResponse structs 2022-09-17 21:45:13 +02:00
GaryOderNichts
0edd2e9c5c Add missing IM_* functions from coreinit 2022-08-28 00:52:10 +02:00
Xpl0itU
88bf29a766 Add const to paths in coreinit/filesystem.h 2022-08-28 00:51:54 +02:00
Maschell
f26ef1a7a4 coreinit: Fix order of arguments for FSOpenFileExAsync 2022-08-05 23:28:18 +02:00
Maschell
1ebadb1169 coreinit: Update FSCmdBlockBody struct to include asyncResult 2022-07-24 20:08:26 +02:00
Maschell
107105e757 coreinit: Add OSShutdown function declaration 2022-07-23 19:26:35 +02:00
Maschell
7418f20eca coreinit: Add OSRestartGame function declaration 2022-07-23 19:26:35 +02:00
Maschell
d290bc8a8a coreinit: Add missing bsp functions 2022-07-23 16:24:44 +02:00
Crementif
d621766b2f
devoptab: Implement various functions and fixes (#223)
- Improved error codes for unlink and rmdir regarding non-empty directories.
- Return ENOENT on empty strings since it softlocks the Wii U. Since the devoptab relies on the cwd it's pretty easy to run into with stuff like recursive path creation for example.
- Clean up open_r mode_t->string conversion
- Improved FSStat->mode_t conversion
- Add FSOpenFileEx and flags
2022-07-23 12:03:07 +02:00
Maschell
318c3a72b9
Fix FSACommandEnum (#236) 2022-07-22 09:25:09 +01:00
Xpl0itU
ed13ea3f19
MCP: Use const for paths (#231) 2022-06-24 22:33:38 +01:00
Maschell
38eaa155cc
Add FSA structs and function declarations (#228) 2022-06-18 12:47:27 +02:00
Maschell
0b196e8abc coreinit: Fix FSError enum 2022-05-21 21:09:25 +02:00
Miku-666
6e547c154f
Add functions used in SCI lib (#211)
* Add functions used in SCI lib

* fix for older code using FSStateChangeInfo
just a typedef `typedef struct FSStateChangeParams FSStateChangeInfo`
2022-05-07 11:29:53 +01:00
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