Commit Graph

110 Commits

Author SHA1 Message Date
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
James Benton
45257957d0 coreinit: Add some IOS functions. 2017-04-07 01:24:37 +01:00
James Benton
5405bca57e Add missing include to expandedheap.h 2017-03-23 12:17:47 +00:00