diff options
| author | Alex Barney <thealexbarney@gmail.com> | 2018-10-30 19:43:02 -0600 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-10-30 22:43:02 -0300 |
| commit | 9cb57fb4bb3bbae0ae052a5af4a96a49fc5d864d (patch) | |
| tree | 0c97425aeb311c142bc92a6fcc503cb2c07d4376 /Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs | |
| parent | 5a87e58183578f5b84ca8d01cbb76aed11820f78 (diff) | |
Adjust naming conventions for Ryujinx and ChocolArm64 projects (#484)
* Change naming convention for Ryujinx project
* Change naming convention for ChocolArm64 project
* Fix NaN
* Remove unneeded this. from Ryujinx project
* Adjust naming from new PRs
* Name changes based on feedback
* How did this get removed?
* Rebasing fix
* Change FP enum case
* Remove prefix from ChocolArm64 classes - Part 1
* Remove prefix from ChocolArm64 classes - Part 2
* Fix alignment from last commit's renaming
* Rename namespaces
* Rename stragglers
* Fix alignment
* Rename OpCode class
* Missed a few
* Adjust alignment
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs b/Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs index 73309e1e..4a0f955f 100644 --- a/Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs +++ b/Ryujinx.HLE/HOS/Kernel/KAddressArbiter.cs @@ -24,11 +24,11 @@ namespace Ryujinx.HLE.HOS.Kernel } public long ArbitrateLock( - Process Process, - AMemory Memory, - int OwnerHandle, - long MutexAddress, - int RequesterHandle) + Process Process, + MemoryManager Memory, + int OwnerHandle, + long MutexAddress, + int RequesterHandle) { System.CriticalSectionLock.Lock(); @@ -80,7 +80,7 @@ namespace Ryujinx.HLE.HOS.Kernel return (uint)CurrentThread.ObjSyncResult; } - public long ArbitrateUnlock(AMemory Memory, long MutexAddress) + public long ArbitrateUnlock(MemoryManager Memory, long MutexAddress) { System.CriticalSectionLock.Lock(); @@ -100,11 +100,11 @@ namespace Ryujinx.HLE.HOS.Kernel } public long WaitProcessWideKeyAtomic( - AMemory Memory, - long MutexAddress, - long CondVarAddress, - int ThreadHandle, - long Timeout) + MemoryManager Memory, + long MutexAddress, + long CondVarAddress, + int ThreadHandle, + long Timeout) { System.CriticalSectionLock.Lock(); @@ -167,7 +167,7 @@ namespace Ryujinx.HLE.HOS.Kernel return (uint)CurrentThread.ObjSyncResult; } - private (long, KThread) MutexUnlock(AMemory Memory, KThread CurrentThread, long MutexAddress) + private (long, KThread) MutexUnlock(MemoryManager Memory, KThread CurrentThread, long MutexAddress) { KThread NewOwnerThread = CurrentThread.RelinquishMutex(MutexAddress, out int Count); @@ -198,7 +198,7 @@ namespace Ryujinx.HLE.HOS.Kernel return (Result, NewOwnerThread); } - public void SignalProcessWideKey(Process Process, AMemory Memory, long Address, int Count) + public void SignalProcessWideKey(Process Process, MemoryManager Memory, long Address, int Count) { Queue<KThread> SignaledThreads = new Queue<KThread>(); @@ -227,7 +227,7 @@ namespace Ryujinx.HLE.HOS.Kernel System.CriticalSectionLock.Unlock(); } - private KThread TryAcquireMutex(Process Process, AMemory Memory, KThread Requester) + private KThread TryAcquireMutex(Process Process, MemoryManager Memory, KThread Requester) { long Address = Requester.MutexAddress; @@ -301,7 +301,7 @@ namespace Ryujinx.HLE.HOS.Kernel return MutexOwner; } - public long WaitForAddressIfEqual(AMemory Memory, long Address, int Value, long Timeout) + public long WaitForAddressIfEqual(MemoryManager Memory, long Address, int Value, long Timeout) { KThread CurrentThread = System.Scheduler.GetCurrentThread(); @@ -373,11 +373,11 @@ namespace Ryujinx.HLE.HOS.Kernel } public long WaitForAddressIfLessThan( - AMemory Memory, - long Address, - int Value, - bool ShouldDecrement, - long Timeout) + MemoryManager Memory, + long Address, + int Value, + bool ShouldDecrement, + long Timeout) { KThread CurrentThread = System.Scheduler.GetCurrentThread(); @@ -507,7 +507,7 @@ namespace Ryujinx.HLE.HOS.Kernel return 0; } - public long SignalAndIncrementIfEqual(AMemory Memory, long Address, int Value, int Count) + public long SignalAndIncrementIfEqual(MemoryManager Memory, long Address, int Value, int Count) { System.CriticalSectionLock.Lock(); @@ -552,7 +552,7 @@ namespace Ryujinx.HLE.HOS.Kernel return 0; } - public long SignalAndModifyIfEqual(AMemory Memory, long Address, int Value, int Count) + public long SignalAndModifyIfEqual(MemoryManager Memory, long Address, int Value, int Count) { System.CriticalSectionLock.Lock(); @@ -649,7 +649,7 @@ namespace Ryujinx.HLE.HOS.Kernel } } - private bool UserToKernelInt32(AMemory Memory, long Address, out int Value) + private bool UserToKernelInt32(MemoryManager Memory, long Address, out int Value) { if (Memory.IsMapped(Address)) { @@ -663,7 +663,7 @@ namespace Ryujinx.HLE.HOS.Kernel return false; } - private bool KernelToUserInt32(AMemory Memory, long Address, int Value) + private bool KernelToUserInt32(MemoryManager Memory, long Address, int Value) { if (Memory.IsMapped(Address)) { |
