summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-10-14 23:35:21 +0200
committerbunnei <bunneidev@gmail.com>2017-10-14 23:35:21 +0200
commit78bc2b70bbf7802997e62790ff0ed429138475f9 (patch)
tree52a27c47fb166ec6d8e830025e8938c6ce3e75e7 /src/core/hle/svc.cpp
parentsvc: Update MemoryInfo flags for 64-bit. (diff)
downloadyuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar.gz
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar.bz2
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar.lz
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar.xz
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.tar.zst
yuzu-78bc2b70bbf7802997e62790ff0ed429138475f9.zip
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp12
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
if (port_name.size() > PortNameMaxLength)
return Kernel::ERR_PORT_NAME_TOO_LONG;
- LOG_INFO(Kernel_SVC, "called port_name=%s", port_name.c_str());
+ LOG_TRACE(Kernel_SVC, "called port_name=%s", port_name.c_str());
auto it = Service::g_kernel_named_ports.find(port_name);
if (it == Service::g_kernel_named_ports.end()) {
@@ -84,7 +84,7 @@ static void OutputDebugString(VAddr address, int len) {
}
static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id) {
- LOG_INFO(Kernel_SVC, "called, info_id=0x%X, info_sub_id=0x%X, handle=0x%08X", info_id, info_sub_id, handle);
+ LOG_TRACE(Kernel_SVC, "called, info_id=0x%X, info_sub_id=0x%X, handle=0x%08X", info_id, info_sub_id, handle);
if (!handle) {
switch (info_id) {
@@ -98,7 +98,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
/// Gets the priority for the specified thread
static ResultCode GetThreadPriority(s32* priority, Kernel::Handle handle) {
- LOG_INFO(Kernel_SVC, "called, handle=0x%08X", handle);
+ LOG_TRACE(Kernel_SVC, "called, handle=0x%08X", handle);
const SharedPtr<Kernel::Thread> thread = Kernel::g_handle_table.Get<Kernel::Thread>(handle);
*priority = thread ? thread->GetPriority() : 0;
return RESULT_SUCCESS;
@@ -137,7 +137,7 @@ static ResultCode QueryProcessMemory(MemoryInfo* memory_info, PageInfo* /*page_i
/// Query memory
static ResultCode QueryMemory(MemoryInfo* memory_info, PageInfo* page_info, VAddr addr) {
- LOG_INFO(Kernel_SVC, "called, addr=%llx", addr);
+ LOG_TRACE(Kernel_SVC, "called, addr=%llx", addr);
return QueryProcessMemory(memory_info, page_info, Kernel::CurrentProcess, addr);
}
@@ -161,7 +161,7 @@ static void SleepThread(s64 nanoseconds) {
/// Signal process wide key
static ResultCode SignalProcessWideKey(VAddr address, u32 target) {
- LOG_INFO(Kernel_SVC, "called, address=0x%llx, target=0x%08x", address, target);
+ LOG_TRACE(Kernel_SVC, "called, address=0x%llx, target=0x%08x", address, target);
return RESULT_SUCCESS;
}
@@ -338,8 +338,6 @@ void CallSVC(u32 immediate) {
} else {
LOG_CRITICAL(Kernel_SVC, "unknown SVC function 0x%x", immediate);
}
-
- LOG_CRITICAL(Kernel_SVC, "PC = 0x%08X", Core::CPU().GetPC());
}
} // namespace SVC