@ -57,7 +57,7 @@ static ResultCode UnmapMemory(VAddr dst_addr, VAddr src_addr, u64 size) {
}
/// Connect to an OS service given the port name, returns the handle to the port to out
static ResultCode ConnectTo Port( Handle * out_handle , VAddr port_name_address ) {
static ResultCode ConnectTo Named Port( Handle * out_handle , VAddr port_name_address ) {
if ( ! Memory : : IsValidVirtualAddress ( port_name_address ) )
return ERR_NOT_FOUND ;
@ -253,7 +253,7 @@ static ResultCode CancelSynchronization(Handle thread_handle) {
}
/// Attempts to locks a mutex, creating it if it does not already exist
static ResultCode LockMutex ( Handle holding_thread_handle , VAddr mutex_addr ,
static ResultCode Arbitrate Lock( Handle holding_thread_handle , VAddr mutex_addr ,
Handle requesting_thread_handle ) {
LOG_TRACE ( Kernel_SVC , " called holding_thread_handle=0x%08X, mutex_addr=0x%llx, "
" requesting_current_thread_handle=0x%08X " ,
@ -277,7 +277,7 @@ static ResultCode LockMutex(Handle holding_thread_handle, VAddr mutex_addr,
}
/// Unlock a mutex
static ResultCode UnlockMutex ( VAddr mutex_addr ) {
static ResultCode Arbitrate Unlock( VAddr mutex_addr ) {
LOG_TRACE ( Kernel_SVC , " called mutex_addr=0x%llx " , mutex_addr ) ;
SharedPtr < Mutex > mutex = g_object_address_table . Get < Mutex > ( mutex_addr ) ;
@ -774,12 +774,12 @@ static const FunctionDef SVC_Table[] = {
{ 0x17 , SvcWrap < ResetSignal > , " ResetSignal " } ,
{ 0x18 , SvcWrap < WaitSynchronization > , " WaitSynchronization " } ,
{ 0x19 , SvcWrap < CancelSynchronization > , " CancelSynchronization " } ,
{ 0x1A , SvcWrap < LockMutex > , " LockMutex " } ,
{ 0x1B , SvcWrap < UnlockMutex > , " UnlockMutex " } ,
{ 0x1A , SvcWrap < Arbitrate Lock> , " Arbitrate Lock" } ,
{ 0x1B , SvcWrap < Arbitrate Unlock> , " Arbitrate Unlock" } ,
{ 0x1C , SvcWrap < WaitProcessWideKeyAtomic > , " WaitProcessWideKeyAtomic " } ,
{ 0x1D , SvcWrap < SignalProcessWideKey > , " SignalProcessWideKey " } ,
{ 0x1E , SvcWrap < GetSystemTick > , " GetSystemTick " } ,
{ 0x1F , SvcWrap < ConnectTo Port> , " ConnectTo Port" } ,
{ 0x1F , SvcWrap < ConnectTo Named Port> , " ConnectTo Named Port" } ,
{ 0x20 , nullptr , " SendSyncRequestLight " } ,
{ 0x21 , SvcWrap < SendSyncRequest > , " SendSyncRequest " } ,
{ 0x22 , nullptr , " SendSyncRequestWithUserBuffer " } ,