Commit Graph

88 Commits

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