72 Commits

Author SHA1 Message Date
Maschell
f80ddb450e Use ubuntu-22.04 in CI MemoryMappingModule-20220904-182212 v0.1 2022-09-04 20:20:47 +02:00
Maschell
2a416d6510 Add Dockerfile 2022-09-04 20:20:47 +02:00
Maschell
83da715e63 Add LICENSE 2022-09-04 20:20:47 +02:00
Maschell
f7fd2b2969 Update Dockerfile to use latest wut version MemoryMappingModule-20220725-201843 2022-07-25 13:17:20 -07:00
Maschell
9c939fd819 Update Dockerfile to use latest WUMS version MemoryMappingModule-20220512-223016 2022-05-13 00:28:50 +02:00
Maschell
2e63108b5f format code MemoryMappingModule-20220509-173543 2022-05-09 19:34:19 +02:00
Maschell
13f27137eb Update the Dockerfile 2022-05-09 19:34:19 +02:00
Maschell
7bb906f83f Improve logging and resolve any compiler warnings 2022-05-09 19:34:19 +02:00
Maschell
59300aad22 Use latest version of libfunctionpatcher 2022-05-09 19:34:19 +02:00
Maschell
93fb8f7d84 Implement generic SR patching and generic sCheckDataRange replacement MemoryMappingModule-20220429-080553 2022-04-29 10:04:24 +02:00
Maschell
9a6b924aeb Fix negative alignments MemoryMappingModule-20220213-124255 2022-02-13 13:41:39 +01:00
Maschell
8203e92a2b Implement support for MEMFindContainHeap when using mapped memory 2022-02-13 13:41:39 +01:00
Maschell
79787e7dce The allocated size is now always an integral multiple of alignment. 2022-02-13 13:41:39 +01:00
Maschell
f513e1a374 Round up the size of the allocated memory to avoid heap corruption MemoryMappingModule-20220211-194006 2022-02-11 20:38:46 +01:00
Maschell
cd56a105e3 Add memory barrier to ensure memory coherence 2022-02-11 20:38:46 +01:00
Maschell
9e424205e0 Guard heap access with OSMutex 2022-02-11 20:38:46 +01:00
Maschell
f56e6938be Nop out additional branches to app panics MemoryMappingModule-20220211-193436 2022-02-11 20:33:27 +01:00
Maschell
bf67d7e029
Merge pull request #2 from wiiu-env/update_clang_format [no ci]
Update .clang-format to update the comment, macro and assignment form…
2022-02-03 15:53:29 +01: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 MemoryMappingModule-20220202-173911 MemoryMappingModule-20220202-174903 2022-02-02 18:34:27 +01:00
Maschell
07259a4f01 Change the layout of the release .zip MemoryMappingModule-20220130-160245 2022-01-30 17:01:47 +01:00
Maschell
0c4381244c Fix building with make DEBUG=1 MemoryMappingModule-20220130-124148 2022-01-30 13:40:09 +01:00
Maschell
5033473292 Formatting MemoryMappingModule-20220126-122635 2022-01-26 13:25:28 +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
88f4e0af29 Reduce the filesize by avoid "new" and any exceptions 2022-01-21 19:52:35 +01:00
Maschell
11d467e1c9 [CI] Fix the asset content type 2022-01-21 19:51:17 +01:00
Maschell
21e39fb642 Trust in CafeOS to figure it out 2021-12-15 17:01:36 +01:00
Maschell
a31ae37e0b Update Dockerfile to use WUMS 0.3 MemoryMappingModule-20211207-194631 2021-12-07 20:45:24 +01:00
Maschell
44676078ee Do not flush heap header to gain performance 2021-12-07 20:44:00 +01:00
Maschell
d890a6c91e Init Spinlock 2021-12-07 20:43:48 +01:00
Maschell
e11cf31b05 Revert "Replace the Spinlock with a Mutex, flush the heap header"
This reverts commit 60d000a27717e52716a725d6fe785344bbb984f4.
2021-12-03 11:44:53 +01:00
Maschell
b981a93848 Update Dockerfile MemoryMappingModule-20211106-190434 2021-11-06 20:03:27 +01:00
Maschell
c608b60a1b Patch KiGetOrPutUserData to allows usage of our mapped memory inside kernel 2021-11-06 17:06:31 +01:00
Maschell
60d000a277 Replace the Spinlock with a Mutex, flush the heap header MemoryMappingModule-20211020-215312 2021-10-20 23:52:09 +02: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 MemoryMappingModule-20210928-160139 2021-09-28 17:58:20 +02:00
Maschell
01a2396b83 Update Dockerfile MemoryMappingModule-20210924-145229 2021-09-24 16:51:19 +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 MemoryMappingModule-20210917-162032 2021-09-17 18:19:32 +02:00
Maschell
3c22ea9404 Use latest wut, remove logging for now MemoryMappingModule-20210417-102809 2021-04-17 12:27:01 +02:00
Maschell
91b268df7f Use latest WUMS version MemoryMappingModule-20210313-130005 2021-03-13 13:59:01 +01: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 MemoryMappingModule-20210219-161306 2021-02-19 17:11:50 +01:00
Maschell
93d7c4a90e Update Dockerfile to use latest images MemoryMappingModule-20210109-132116 2021-01-09 14:19:32 +01:00
Maschell
1640657534 Compile using -O2 2021-01-01 01:57:16 +01:00
Maschell
9c9e1cc5ce Add DCFlushRange to HeapBlockHeader on malloc/free 2021-01-01 01:56:54 +01:00
Maschell
989b455eff Implement MemoryMapping_MEMGetAllocatableSize and MemoryMapping_MEMGetAllocatableSizeEx 2021-01-01 01:56:24 +01:00
Maschell
5ebc7e9de8 [Workflow] Use Environment Files instead of ::set-env 2020-12-26 15:57:04 +01:00
Maschell
aaf9a1a082 Add sCheckDataRange hook to allow loading .rpl files into our memory region via OSDynload_Acquire (and a custom allocator) 2020-12-26 15:52:06 +01:00