Commit Graph

28 Commits

Author SHA1 Message Date
Maschell
d3f874ed2e Use latest version of libfunctionpatcher 2023-01-06 16:02:58 +01:00
Maschell
9bf4b02952 Update version to v0.2 2022-10-09 14:32:17 +02:00
Maschell
4da0dd9e3f Log the module version on each application start 2022-10-09 14:32:17 +02:00
Maschell
59300aad22 Use latest version of libfunctionpatcher 2022-05-09 19:34:19 +02:00
Maschell
cd18ab16a6 Update .clang-format to update the comment, macro and assignment formatting 2022-02-03 15:51:47 +01:00
Maschell
6db316c682 Use clang-format to format the code 2022-02-02 18:34:27 +01:00
Maschell
fcba5a9f1c Implement logging, but only when built with make DEBUG=1 2022-01-26 13:24:56 +01:00
Maschell
833a37e0cf WUMS 0.3.1 support 2022-01-26 13:21:07 +01:00
Maschell
2b68e73d9c Remove logging - this fixes booting minecraft for some reason. 2021-10-20 23:51:47 +02:00
Maschell
d36d3610ca Use a global spinlock to lock the alloc/free functions 2021-09-28 17:58:20 +02:00
Maschell
d0e432fb69 Formatting and cleanup 2021-09-24 16:51:11 +02:00
Maschell
18a2889a36 Reenable logging, Update Dockerfile to use WUMS 0.2 2021-09-17 18:19:32 +02:00
Maschell
3c22ea9404 Use latest wut, remove logging for now 2021-04-17 12:27:01 +02:00
Maschell
c32079fbac Reduce the number of logged messages 2021-03-13 13:56:07 +01:00
Maschell
0089ec9f40 Use WUMS_MODULE_SKIP_WUT_INIT 2021-02-19 17:11:50 +01:00
Maschell
699273c86d Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT => WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK, add WUMS_MODULE_SKIP_ENTRYPOINT 2020-12-26 15:51:21 +01:00
Maschell
36ba62e669 Add memory that's usable for GX2 usage 2020-06-27 11:17:38 +02:00
Maschell
58f9c4f334 Make sure to call the init hook before the entrypoint. 2020-06-10 14:59:43 +02:00
Maschell
51c92881af Add kernel patches to allow usage of the memory mapping 2020-06-10 14:59:36 +02:00
Maschell
4e0010da0b Fix compiler warnings 2020-06-10 14:59:30 +02:00
Maschell
73537b58d4 Print used memory blocks on custom heap at each application start. 2020-06-10 14:59:09 +02:00
Maschell
7a2804ac7e Use the WUMS_APPLICATION_STARTS hook instead of the main() function 2020-06-10 14:59:03 +02:00
Maschell
3dab586704 Try to use only C code, removing the MemoryMapping class (which only had static functions) 2020-06-10 14:58:34 +02:00
Maschell
6c5a2edf6d Formatting 2020-06-03 18:36:02 +02:00
Maschell
5ac51ef3ce Add a function to get the total free space left on the heaps 2020-05-30 21:49:29 +02:00
Maschell
3a0abb940f Destroy and create the heaps at every application start 2020-05-30 21:48:50 +02:00
Maschell
0f81a4cc8f Expose malloc and free as data exports 2020-05-30 21:47:44 +02:00
Maschell
5d38198e41 frist commit 2020-05-29 19:25:05 +02:00