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
dimok789
1a1a87a948
- keep .lib.rplLibs section. this allows use of --gc-sections and reduce RPX size - added a few memory functions
2016-11-06 21:11:14 -08:00
CreeperMario Games
d7a2af2a0b
Added ICInvalidateRange to coreinit and modified Makefiles
2016-11-06 09:48:30 +10:30
dimok789
37330b5046
- added gx2 aa 2x and 4 and some additional primitive and surface enums
...
- added some gx2 logical ORed enums as typdef enum does not allow OR operations without a cast in C++
- added AXQuit in sndcore2
- added OSGetTitleID in coreinit
- removed not existing functions from nsysnet and added inet_ntoa
2016-10-11 19:17:18 +02:00
James Benton
d9bd766b4c
coreinit: Cleanup formatting in coreinit/mcp.h
2016-10-09 21:16:56 +01:00
James Benton
4a595fba93
coreinit: Fill out MEMUnitHeap structure.
2016-10-09 21:16:40 +01:00
James Benton
0a34d5b7a2
coreinit: Fill out MEMExpandedHeap structure.
2016-10-09 21:16:26 +01:00
James Benton
623661a39c
coreinit: Move time macros from systeminfo.h to time.h
2016-10-09 20:36:33 +01:00
shinyquagsire23
98966f020f
Add FSBindMount and FSBindUnmount
2016-08-26 16:25:05 -07:00
shinyquagsire23
6affe2ff29
Add FSChangeMode and FSGetFreeSpaceSize
2016-08-26 16:25:05 -07:00
James Benton
f2e4e04805
coreinit: Add block heap definitions.
2016-08-10 18:27:20 +01:00
James
ae9fa0a8ab
Merge pull request #28 from shinyquagsire23/mcp
...
Add basic MCP coreinit imports
2016-08-08 21:06:16 +01:00
shinyquagsire23
7e3b1445eb
Add MCP_DeviceList and MCP_FullDeviceList
2016-08-06 22:03:30 -07:00
shinyquagsire23
c0148133db
Fix ordering in mcp.h
2016-08-01 15:22:44 -07:00
shinyquagsire23
e43e86aeda
Add basic MCP coreinit imports
2016-08-01 15:16:36 -07:00
shinyquagsire23
0d4fe1f052
Add FSMountSource struct, use filesystem structs in devoptab
2016-07-31 22:28:28 -07:00
shinyquagsire23
0aa7a3e021
Add devoptab support to crt
2016-07-30 22:28:58 -07:00
shinyquagsire23
f4151dd9c1
Add foreground management imports to coreinit
2016-07-27 00:39:25 -07:00
James Benton
cc50c182cf
Cleanup OSScreen function declarations.
2016-07-25 23:01:55 +01:00
James Benton
a1d023af16
Add some comments to vpad/input.h
2016-07-25 02:03:46 +01:00
shinyquagsire23
6f88094f1d
Add OSScreen functions to coreinit
2016-07-24 14:03:22 -07:00
James Benton
d02bdf6e35
Use enums instead of defines in memheap.h
2016-07-23 11:09:58 +01:00
James Benton
29b6d586e6
Update frameheap to have correct structure.
2016-07-23 11:09:58 +01:00
James Benton
8e9425f7d4
Add some comments to coreinit/baseheap.h
2016-07-23 11:09:58 +01:00
shinyquagsire23
9173f0f6c3
Adjustments for linking, rpx/rpl generation
2016-07-22 20:35:20 -07:00
shinyquagsire23
631d88a4c3
Remove imports which don't exist in elf2rpl's target coreinit.rpl version
2016-07-16 17:32:13 -07:00
James Benton
64bb52c552
Add OSBlockMove and OSBlockSet.
2016-07-06 20:48:54 +01:00
James Benton
075d80aec8
Add coreinit coroutine API.
2016-07-06 18:46:05 +01:00
James Benton
95c2610b04
Add coreinit OSGetSystemInfo.
2016-06-08 00:20:34 +01:00
James Benton
fd069526ab
filesystem: Remove unnecessary include.
2016-01-11 01:19:08 +00:00
James Benton
369b2cb6b1
Add FSError, FSVolumeState enum values.
2016-01-11 01:13:14 +00:00
James Benton
4779dea85a
Fix filesystem.h
2016-01-10 17:10:38 -08:00
James Benton
74cbc8f3ff
Add filesystem functions.
2016-01-11 01:04:58 +00:00
James Benton
f9123fa460
Fix compile errors.
2016-01-08 08:52:12 -08:00
James Benton
fddf6f2532
Fix naughty enum typedefs.
2016-01-08 07:28:52 -08:00
James Benton
33247b5034
More documentation.
2016-01-07 19:25:07 +00:00
James Benton
d84d765e59
Add module .dox
2016-01-07 16:13:50 +00:00
James Benton
1145044517
Start doxygen documentation.
2016-01-07 16:04:01 +00:00
James Benton
c6de879cbc
Add pragma pack 1 byte alignment for OSThread.
...
Struct size seems to be rounded up to 8 byte alignment.
2016-01-07 06:21:02 -08:00
James Benton
4bebe2242d
Remove WUT_LIB_HEADER_START.
2016-01-07 14:09:43 +00:00
James Benton
e8b6b9b308
Add taskqueue functions.
2016-01-07 13:42:22 +00:00
James Benton
297a0d7068
Add messagequeue functions
2016-01-07 13:32:55 +00:00
James Benton
512fee7d94
Add unit heap functions.
2016-01-07 13:21:00 +00:00
James Benton
0aa7d4b2c4
Add memlist functions.
2016-01-07 13:20:45 +00:00
James Benton
b3da4d60c1
Add frameheap functions.
2016-01-07 13:20:32 +00:00
James Benton
948f03758a
Add baseheap functions.
2016-01-07 13:20:05 +00:00
James Benton
2f89fed96c
Move memexpandedheap.h to expandedheap.h
2016-01-07 13:19:50 +00:00
James Benton
2e776838ff
Use a macro WUT_LIB_HEADER_{START,END}...
...
So we don't have to extern C and pragma pack in every header file.
2016-01-07 05:02:17 -08:00
James Benton
7669e4b4ee
Simple formatting changes.
2016-01-07 04:48:11 -08:00
James Benton
7219164f4b
Add missing OSMutexQueue typedef.
2016-01-07 04:47:58 -08:00
James Benton
7fb39a71bd
Fix unknown size in OSThread
2016-01-07 04:47:45 -08:00
James Benton
92511be884
Fix thread entry point to use int as return and argc type.
2016-01-07 04:47:36 -08:00
James Benton
35dd3f23e1
Remove second OSCondition definition in mutex.h
2016-01-07 04:47:16 -08:00
James Benton
ca212889b4
Move OSFastCondition to it's own header file.
2016-01-07 04:47:08 -08:00
James Benton
d58b264cab
Remove some internal decaf functions that snuck in.
2016-01-07 04:46:55 -08:00
James Benton
fcf59a8dd8
Add missing OSInitAlarmQueueEx function
2016-01-07 04:46:02 -08:00
James Benton
e123ba272f
Fix enum typedefs so we now define storage type.
2016-01-07 04:45:44 -08:00
James Benton
04fd92f05f
Fix struct forward declarations.
2016-01-07 04:45:18 -08:00