Maschell
|
bf99541449
|
Use custom function to check exp heap
|
2024-04-26 23:42:38 +02:00 |
|
Maschell
|
d76afc5673
|
Fix compiling with latest wut version
|
2024-04-25 12:02:28 +02:00 |
|
Maschell
|
8e53c22f2c
|
Make sure we can execute code on all three cores, check heaps on application end
|
2024-04-25 12:02:28 +02:00 |
|
Maschell
|
f9b2bcd660
|
Allocate the page table on the heap to avoid a stack overflow
|
2023-03-27 18:22:05 +02:00 |
|
Maschell
|
2e63108b5f
|
format code
|
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
|
93fb8f7d84
|
Implement generic SR patching and generic sCheckDataRange replacement
|
2022-04-29 10:04:24 +02:00 |
|
Maschell
|
9a6b924aeb
|
Fix negative alignments
|
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
|
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
|
2022-02-11 20:33:27 +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
|
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
|
88f4e0af29
|
Reduce the filesize by avoid "new" and any exceptions
|
2022-01-21 19:52:35 +01:00 |
|
Maschell
|
21e39fb642
|
Trust in CafeOS to figure it out
|
2021-12-15 17:01:36 +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 60d000a277 .
|
2021-12-03 11:44:53 +01:00 |
|
Maschell
|
60d000a277
|
Replace the Spinlock with a Mutex, flush the heap header
|
2021-10-20 23:52:09 +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
|
c32079fbac
|
Reduce the number of logged messages
|
2021-03-13 13:56:07 +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
|
36ba62e669
|
Add memory that's usable for GX2 usage
|
2020-06-27 11:17:38 +02:00 |
|
Maschell
|
360a87977a
|
Improve logging
|
2020-06-13 15:53:36 +02:00 |
|
Maschell
|
4e0010da0b
|
Fix compiler warnings
|
2020-06-10 14:59:30 +02:00 |
|
Maschell
|
093343ddf9
|
Add more KernelNOPs and run them on all cores
|
2020-06-10 14:59:22 +02:00 |
|
Maschell
|
d0898430fc
|
Use the MEM_HEAP_FLAG_USE_LOCK flag on our custom heap for thread safe operations
|
2020-06-10 14:58:54 +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
|
4c7d8d80ab
|
Remove some debugs logs
|
2020-05-30 21:45:48 +02:00 |
|
Maschell
|
667a90d7ed
|
Fix the alloc and free functions to use all heaps
|
2020-05-30 21:45:05 +02:00 |
|
Maschell
|
5d38198e41
|
frist commit
|
2020-05-29 19:25:05 +02:00 |
|