diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/svc.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index c0481ea6f..d72b32d2b 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -34,7 +34,7 @@ static ResultCode ConnectToPort(Kernel::Handle* out_handle, VAddr port_name_addr | |||
| 34 | if (port_name.size() > PortNameMaxLength) | 34 | if (port_name.size() > PortNameMaxLength) |
| 35 | return Kernel::ERR_PORT_NAME_TOO_LONG; | 35 | return Kernel::ERR_PORT_NAME_TOO_LONG; |
| 36 | 36 | ||
| 37 | LOG_INFO(Kernel_SVC, "called port_name=%s", port_name.c_str()); | 37 | LOG_TRACE(Kernel_SVC, "called port_name=%s", port_name.c_str()); |
| 38 | 38 | ||
| 39 | auto it = Service::g_kernel_named_ports.find(port_name); | 39 | auto it = Service::g_kernel_named_ports.find(port_name); |
| 40 | if (it == Service::g_kernel_named_ports.end()) { | 40 | if (it == Service::g_kernel_named_ports.end()) { |
| @@ -84,7 +84,7 @@ static void OutputDebugString(VAddr address, int len) { | |||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id) { | 86 | static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id) { |
| 87 | LOG_INFO(Kernel_SVC, "called, info_id=0x%X, info_sub_id=0x%X, handle=0x%08X", info_id, info_sub_id, handle); | 87 | LOG_TRACE(Kernel_SVC, "called, info_id=0x%X, info_sub_id=0x%X, handle=0x%08X", info_id, info_sub_id, handle); |
| 88 | 88 | ||
| 89 | if (!handle) { | 89 | if (!handle) { |
| 90 | switch (info_id) { | 90 | switch (info_id) { |
| @@ -98,7 +98,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id) | |||
| 98 | 98 | ||
| 99 | /// Gets the priority for the specified thread | 99 | /// Gets the priority for the specified thread |
| 100 | static ResultCode GetThreadPriority(s32* priority, Kernel::Handle handle) { | 100 | static ResultCode GetThreadPriority(s32* priority, Kernel::Handle handle) { |
| 101 | LOG_INFO(Kernel_SVC, "called, handle=0x%08X", handle); | 101 | LOG_TRACE(Kernel_SVC, "called, handle=0x%08X", handle); |
| 102 | const SharedPtr<Kernel::Thread> thread = Kernel::g_handle_table.Get<Kernel::Thread>(handle); | 102 | const SharedPtr<Kernel::Thread> thread = Kernel::g_handle_table.Get<Kernel::Thread>(handle); |
| 103 | *priority = thread ? thread->GetPriority() : 0; | 103 | *priority = thread ? thread->GetPriority() : 0; |
| 104 | return RESULT_SUCCESS; | 104 | return RESULT_SUCCESS; |
| @@ -137,7 +137,7 @@ static ResultCode QueryProcessMemory(MemoryInfo* memory_info, PageInfo* /*page_i | |||
| 137 | 137 | ||
| 138 | /// Query memory | 138 | /// Query memory |
| 139 | static ResultCode QueryMemory(MemoryInfo* memory_info, PageInfo* page_info, VAddr addr) { | 139 | static ResultCode QueryMemory(MemoryInfo* memory_info, PageInfo* page_info, VAddr addr) { |
| 140 | LOG_INFO(Kernel_SVC, "called, addr=%llx", addr); | 140 | LOG_TRACE(Kernel_SVC, "called, addr=%llx", addr); |
| 141 | return QueryProcessMemory(memory_info, page_info, Kernel::CurrentProcess, addr); | 141 | return QueryProcessMemory(memory_info, page_info, Kernel::CurrentProcess, addr); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| @@ -161,7 +161,7 @@ static void SleepThread(s64 nanoseconds) { | |||
| 161 | 161 | ||
| 162 | /// Signal process wide key | 162 | /// Signal process wide key |
| 163 | static ResultCode SignalProcessWideKey(VAddr address, u32 target) { | 163 | static ResultCode SignalProcessWideKey(VAddr address, u32 target) { |
| 164 | LOG_INFO(Kernel_SVC, "called, address=0x%llx, target=0x%08x", address, target); | 164 | LOG_TRACE(Kernel_SVC, "called, address=0x%llx, target=0x%08x", address, target); |
| 165 | return RESULT_SUCCESS; | 165 | return RESULT_SUCCESS; |
| 166 | } | 166 | } |
| 167 | 167 | ||
| @@ -338,8 +338,6 @@ void CallSVC(u32 immediate) { | |||
| 338 | } else { | 338 | } else { |
| 339 | LOG_CRITICAL(Kernel_SVC, "unknown SVC function 0x%x", immediate); | 339 | LOG_CRITICAL(Kernel_SVC, "unknown SVC function 0x%x", immediate); |
| 340 | } | 340 | } |
| 341 | |||
| 342 | LOG_CRITICAL(Kernel_SVC, "PC = 0x%08X", Core::CPU().GetPC()); | ||
| 343 | } | 341 | } |
| 344 | 342 | ||
| 345 | } // namespace SVC | 343 | } // namespace SVC |