mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2024-06-02 17:48:46 +02:00
Init Spinlock
This commit is contained in:
parent
e11cf31b05
commit
d890a6c91e
|
@ -10,8 +10,6 @@
|
|||
#include "logger.h"
|
||||
#include "CThread.h"
|
||||
#include <cstring>
|
||||
#include <coreinit/debug.h>
|
||||
#include <cstdio>
|
||||
|
||||
OSSpinLock allocFreeSpinlock;
|
||||
|
||||
|
@ -382,6 +380,8 @@ void MemoryMapping_setupMemoryMapping() {
|
|||
//readTestValuesFromMemory();
|
||||
|
||||
//runOnAllCores(writeSegmentRegister,&srTableCpy);
|
||||
|
||||
OSInitSpinLock(&allocFreeSpinlock);
|
||||
}
|
||||
|
||||
void *MemoryMapping_allocEx(uint32_t size, int32_t align, bool videoOnly) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user