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
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
Ash
e32369dbba
include/coreinit/screen: Add Doxygen docs for OSScreen
2018-07-24 22:04:20 +10:00
Ash
9db6278915
include/coreinit/core.h: Add Doxygen docs for Core group.
2018-07-18 21:33:50 +10:00
Ash
2e9643e342
include/coreinit/cache: Document Cache function group
2018-07-18 21:26:39 +10:00
James Benton
17a83000e0
coreinit: Add OSSwitchFiber{Ex} functions.
2018-07-01 16:25:07 +01:00
James Benton
11ff692fbf
coreinit: Add more OSContext related functions.
2018-07-01 16:24:51 +01:00
James
d01de98da2
Merge pull request #78 from Maschell/feature_coreinit_context
...
Add "OSLoadContext"
2018-07-01 08:12:54 -07:00
Maschell
531dfaee7f
Add OSDynLoad_GetModuleName
2018-06-30 21:13:16 +02:00
Maschell
ee90aef8b9
Add "OSLoadContext"
2018-06-30 20:56:21 +02:00
Maschell
fa285aa946
Add MEMFindParentHeap and MEMCreateUserHeapHandle
2018-06-26 15:55:01 +01:00
Ash
31c762ed11
include/coreinit: Start documenting OS* memory functions (decaf)
...
From QuarkTheAwesome/decaf-emu@865ac43 and
QuarkTheAwesome/decaf-emu@81cd110
2018-06-23 20:13:38 +10:00
James Benton
ac6c9b648f
Use correct struct for MCPSysProdSettings.
...
I copied system settings instead of system prod settings, oops.
2018-06-20 11:41:01 +01:00
Maschell
cf024e025b
coreinit: Add more MCP functions.
2018-06-20 11:35:16 +01:00
James Benton
0cba642861
Add WUT_PACKED macro for struct packing.
2018-06-20 11:20:43 +01:00
Maschell
e528a09ba5
Add struct FSMessage and struct FSAsyncResult, added some missing fields to FSStat
2018-06-20 11:20:43 +01:00
James Benton
5091a36418
Add OSFunctionType.
...
Placed in messagequeue.h because it is used in the system message queue
for distinguishing messages.
2018-06-20 11:20:43 +01:00
James Benton
5f1b1902f6
Prefix structsize macros with WUT_
2018-06-20 11:05:16 +01:00
James Benton
b4619783ca
Remove sized types from wut_types.h
...
stdint.h exists for a reason.
2018-06-20 11:05:16 +01:00
James Benton
55edba512f
Fix circular dependency between systeminfo.h and time.h
2018-06-18 10:04:27 +01:00
James Benton
9cc6aead84
coreinit: Add remaining IM* functions.
2018-06-17 21:02:35 +01:00
Maschell
ea64525812
Add missing "systeminfo.h" include to the "thread.h"
2018-06-17 20:55:28 +01:00
Maschell
c1c30a5c73
Add energy saving header.
2018-06-17 20:55:28 +01:00
James Benton
26af965373
Update some doxygen related headers.
2018-06-14 14:11:22 +01:00
James Benton
f281be50ab
Add support for generating RPL files.
...
RPL files are shared libraries (like a .dll file), as opposed to the RPX
files which are executables (like a .exe file).
Use rpl_main as defined in dynload.h like one would DllMain on Windows.
2018-05-30 21:56:18 +01:00
James Benton
1489adeb37
coreinit: Add MEMVisitAllocatedForExpHeap
2018-05-30 19:05:54 +01:00
James Benton
d350e2e28a
coreinit: Add a prototype for __preinit_user.
...
Also throw in CoreInitDefaultHeap whilst we are there, it's the default
implementation of __preinit_user.
2018-05-30 18:56:10 +01:00
James Benton
d5effaaf88
coreinit: Cleanup memory heap functions.
...
Move files to mem*heap.h.
Use MEMHeapHandle everywhere to reduce need for unecessary casts.
Rename types to match the function names better (e.g. Frame -> Frm).
2018-05-30 13:13:37 +01:00
James Benton
42ac732b2e
coreinit: Add some memory functions.
...
Adds OSGetForegroundBucket, OSGetForegroundBucketFreeArea, OSGetMemBound.
2018-05-30 13:11:57 +01:00
James Benton
3e117fe667
coreinit: Merge baseheap.h into memheap.h
2018-05-30 13:11:20 +01:00
James Benton
3c763b7a08
coreinit: Add OSDynLoad_{Get,Set}TLSAllocator.
2018-05-30 13:10:57 +01:00
James Benton
65f03c5e62
coreinit: Add OSDynLoad_Error.
2018-05-30 13:10:38 +01:00
James Benton
524fd9143a
coreinit: Add virtual memory mapping functions.
2018-05-29 13:55:10 +01:00
James Benton
766e832363
coreinit: Add default heap data exports.
2018-05-29 10:52:40 +01:00
James Benton
2b165bf887
Improve time conversion macros.
2018-05-28 11:39:36 +01:00
James Benton
479e9ad677
Add devoptab support for sdcard.
2018-05-27 12:11:45 +01:00
James Benton
33bff6ccb9
whb: Fix exception handlers to be globally registered.
...
Was previously only registered for current thread.
2018-05-25 18:59:29 +01:00
James Benton
b4e5bf4106
Change OS{Get,Set}ThreadSpecific to use void *.
2018-05-25 18:06:25 +01:00
James Benton
76844067dd
Add OSSeconds to time.h
2018-05-25 17:13:40 +01:00
James Benton
d0f43d24b7
Fix size of OSThread structure
2017-11-01 11:00:18 +00:00