Commit Graph

223 Commits

Author SHA1 Message Date
Cynthia Coan
49fe30fe49
coreinit/filesystem: Label HFIO/PCFS mount source type (#431)
* properly label PCFS mount type

now that we've got an open-source way of booting a cat-dev, and using
PCFS, we can confirm that this second mount source is indeed PCFS.

* fix one space

* pcfs -> hfio
2026-01-25 13:11:43 +01:00
GaryOderNichts
2c98cc91aa Run clang-format
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
2025-06-05 11:06:04 +01:00
GaryOderNichts
2b66122422 Add .clang-format
Co-authored-by: Maschell <Maschell@gmx.de>
2025-06-05 11:06:04 +01:00
Daniel K. O.
81db8e5dd4
Add WUT_FORMAT_PRINTF and fix some format string bugs. (#404)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-05-17 22:35:56 +02:00
GaryOderNichts
a92c2b178b coreinit/debug: Add OSSendFatalError
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-03-16 19:34:51 +01:00
Andrew
4847ddce41
bsp: Add all BSP errors (#412)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-02-19 12:45:23 +01:00
Daniel K. O.
6f48526d37
coreinit: Add memory allocator functions (#402)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-10-07 22:04:47 +02:00
Daniel K. O.
ad730b9dcb
Added OSSetPerformanceMonitor(). (#400)
* Added `OSSetPerformanceMonitor()`.

--HG--
branch : perf-mon

* Renamed everything.

--HG--
branch : perf-mon

* Added header to tests.

--HG--
branch : perf-mon

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-09-30 11:32:53 +02:00
Maschell
c38b84c175 coreinit: add "MCP_DEVICE_TYPE_AUTO" 2024-08-10 17:43:27 +02:00
capitalistspz
7044eaa8e4
coreinit/screen: Swap row and column parameters in OSScreenPutFontEx (#391)
* coreinit/OSScreenPutFontEx: Swap row and column parameters

* swap the comment order too
2024-07-19 19:56:49 +02:00
Maschell
ed0c91de16 coreinit: Fix wrong/duplicate OSGetCodegenVirtAddrRange declaration, formatting 2024-06-10 19:42:35 +02:00
capitalistspz
1da14020ee
coreinit: add stopwatch.h and stopwatchatomic.h (#370)
* coreinit: add stopwatch.h and stopwatchatomic.h

* Formatting

* correct function name
2024-06-08 20:19:28 +02:00
Maschell
ef057f145b coreinit: Add __FSAShimDecodeIosErrorToFsaStatus 2024-06-08 17:55:44 +02:00
Maschell
35aa8b7e80 coreinit: Add "SavedFrame" related functions 2024-06-08 17:46:42 +02:00
Maschell
382a3b2c81 coreinit: Add __OSPhysicalToEffectiveCached and __OSPhysicalToEffectiveUncached 2024-06-06 21:10:30 +02:00
Maschell
0f33ec2121 coreinit: Add MCP_ChangeEcoSettings 2024-04-27 13:47:37 +02:00
Andrew
e9abab7cd4 coreinit/mcp: Add MCP_TriggerCrashLogCollection 2024-04-21 15:27:09 +02:00
Maschell
08cfb34e0b
coreinit: Add MEMCheckExpHeap and MEMCheckHeap (#358)
* coreinit: Add MEMCheckExpHeap and MEMCheckHeap

* coreinit: Fix MEMCheckExpHeap and MEMCheckHeap functions
2024-04-20 19:25:24 +02:00
GaryOderNichts
4edae90d8b coreinit/mcp: Fix MCPAppType for DRC and DRH 2024-03-28 11:13:41 +01:00
GaryOderNichts
f1019f63a0 coreinit/im: Add missing IMEvents 2024-01-12 12:09:55 +01:00
GaryOderNichts
430e0c700a coreinit/im: Add IM_SetDeviceState 2024-01-12 12:09:55 +01:00
GaryOderNichts
cb9046e776 Add system time update functions 2023-10-07 10:58:26 +02:00
Maschell
5f42c2c34a
coreinit: Add some missing field to the OSThread struct (#319) 2023-06-04 11:05:14 +01:00
GaryOderNichts
3ae38b15c7
Implement __syscall_getreent (#318) 2023-05-21 14:03:48 +01:00
Maschell
c3491e278c coreinit: Add KernelInfo0/KernelInfo6 structs 2023-04-01 17:04:40 +02:00
Exzap
53a076b4b4 coreinit: Fix OSDynLoad_EntryReason values 2023-04-01 17:04:18 +02:00
GaryOderNichts
8c22896e4f coreinit/mcp: Add MCP_GetSystemVersion 2023-04-01 17:03:58 +02:00
Maschell
d2e9e595c4 coreinit: Add missing MCP functions/enums 2023-04-01 17:03:41 +02:00
GaryOderNichts
451a1828f7 Add MCP_CompatLoadAVFile 2023-03-25 16:05:35 +01:00
Maschell
de8d37db42 coreinit: Fix OSDynLoad_Error to be a 32bit value 2023-02-19 16:17:41 +01:00
Nathan Strong
d830b51667 A little fleshing out of the dynamic library header
== DETAILS

This commit provides two tweaks:

1. Add the "library not found" error, value of -6, to the
   `OSDynLoad_Error` enums
2. Define an `OSDynLoad_ExportType` enum and use it in place of the
   `isData` boolean parameter to avoid raw `true`/`false` values in the
   code and make usages easier to read:

   ```c
   // before - unclear what "false" means in this context
   last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, false, proc, &ptr_sym);
   ```
   vs:
   ```c
   // after - aha, we're looking up a function symbol
   last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, OS_DYNLOAD_EXPORT_FUNC, proc, &ptr_sym);
   ```
2023-02-17 18:15:35 +01:00
GaryOderNichts
09b2ccda26 coreinit: Add smd 2023-02-17 18:15:19 +01:00
Maschell
8b68eebeaf coreinit: Add __OSSuspendThreadNolock 2023-02-10 00:56:58 +01:00
Maschell
73bb4dcbcc coreinit: Add missing fields and enum definitions to OSThread and OSContext 2023-02-10 00:56:58 +01:00
Maschell
55b1cd7f2c coreinit: Add some kernel related functions 2023-02-09 18:16:49 +01:00
Maschell
fe4bdafb92 coreinit: Add __OSConsoleWrite 2023-02-09 18:16:27 +01:00
Maschell
6e58348a04 coreinit: add OSGetCodegenVirtAddrRange 2023-02-09 18:15:55 +01:00
Maschell
ffebb519c4 coreinit: Add missing functions for setting the context 2023-02-09 18:15:40 +01:00
Maschell
65620ceab2 coreinit: Fix missing import in rendevouz.h 2023-02-09 18:15:18 +01:00
Maschell
ccca248af4 coreinit: Add missing (internal) structs 2023-02-09 18:14:56 +01:00
GaryOderNichts
a53d2bda6e coreinit/launch: Add OSLaunchTitle* functions 2023-02-04 16:48:52 +01:00
Xpl0itU
7530dd5818 Fix FSARequest padding 2023-01-22 14:48:27 +01:00
Xpl0itU
e0f8b378de Add FSARequestChangeOwner 2023-01-22 13:42:11 +01:00
GaryOderNichts
4ccc879aa9 coreinit: Add CopyData functions 2022-10-29 19:28:43 +02:00
miku-666
8cae5c050d Update FSStateChangeParams and add offset checks 2022-10-29 18:44:31 +02:00
Maschell
b417b8fbd4 coreinit: Add missing coreinit/context.h include in coreinit/interrupts.h 2022-09-22 17:32:16 +02:00
Maschell
80de7e3aac Add missing FSARequest/FSAResponse structs 2022-09-17 21:45:13 +02:00
GaryOderNichts
0edd2e9c5c Add missing IM_* functions from coreinit 2022-08-28 00:52:10 +02:00
Xpl0itU
88bf29a766 Add const to paths in coreinit/filesystem.h 2022-08-28 00:51:54 +02:00
Maschell
f26ef1a7a4 coreinit: Fix order of arguments for FSOpenFileExAsync 2022-08-05 23:28:18 +02:00