Commit Graph

153 Commits

Author SHA1 Message Date
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