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
James Benton
2100cea176
coreinit: Add OSGetSymbolName, OSGetUPID.
2017-06-02 11:42:42 +01:00
James Benton
5a07bf6c1d
coreinit: Add DisassemblePPCRange.
2017-06-02 11:42:24 +01:00
James Benton
46b3c9c7e0
coreinit: Add OSEnableHomeButtonMenuhome button menu and OSIsHomeButtonMenuEnabled.
2017-06-02 11:41:54 +01:00
James Benton
a2cf3837a3
coreinit: Fix type from uint8_t * to void * in MEMExpHeap functions.
2017-06-02 11:41:03 +01:00
James Benton
c83ff22780
coreinit: Move OSContext to context.h
2017-06-02 11:40:41 +01:00
James Benton
576ab3fe4d
coreinit: Fix missing threadqueue.h include in messagequeue.h
2017-05-26 18:24:14 +01:00
James Benton
c4aebac137
coreinit: Fix OSMessageFlags enum name.
2017-05-26 17:46:57 +01:00
James Benton
f403512d5b
coreinit: Fix OSDynLoad_FindExport isData to be a BOOL.
2017-05-10 17:22:37 +01:00
James Benton
840d91c62e
coreinit: Add 32 bit atomic exports.
2017-04-10 23:19:21 +01:00
James Benton
604b18faf0
coreinit: Add missing fields to OSCalendarTime.
2017-04-10 23:19:21 +01:00
James Benton
9acc679c6f
coreinit: Add missing argument to _Exit.
2017-04-10 23:19:21 +01:00
James Benton
6d5bb75cb3
coreinit: Update atomic64 to use pointer to volatile value.
2017-04-10 23:19:21 +01:00
James Benton
b7a4cba5c3
coreinit: Add OSScreenShutdown.
2017-04-07 01:24:37 +01:00