From d373a6430d29abd77522963a61d8e54fc2317951 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Sun, 4 Nov 2018 22:28:02 -0500 Subject: [PATCH] SVC: move function_wrappers.h into kernel It is only used by kernel/SVC --- src/core/CMakeLists.txt | 2 +- src/core/hle/{ => kernel}/function_wrappers.h | 0 src/core/hle/kernel/svc.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/core/hle/{ => kernel}/function_wrappers.h (100%) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 2ccdaea275..199c9fc364 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -103,7 +103,6 @@ add_library(core STATIC hle/applets/mint.h hle/applets/swkbd.cpp hle/applets/swkbd.h - hle/function_wrappers.h hle/ipc.h hle/ipc_helpers.h hle/kernel/address_arbiter.cpp @@ -117,6 +116,7 @@ add_library(core STATIC hle/kernel/errors.h hle/kernel/event.cpp hle/kernel/event.h + hle/kernel/function_wrappers.h hle/kernel/handle_table.cpp hle/kernel/handle_table.h hle/kernel/hle_ipc.cpp diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/kernel/function_wrappers.h similarity index 100% rename from src/core/hle/function_wrappers.h rename to src/core/hle/kernel/function_wrappers.h diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 16bbddb24f..fc6b34090f 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -11,12 +11,12 @@ #include "common/scope_exit.h" #include "core/arm/arm_interface.h" #include "core/core_timing.h" -#include "core/hle/function_wrappers.h" #include "core/hle/kernel/address_arbiter.h" #include "core/hle/kernel/client_port.h" #include "core/hle/kernel/client_session.h" #include "core/hle/kernel/errors.h" #include "core/hle/kernel/event.h" +#include "core/hle/kernel/function_wrappers.h" #include "core/hle/kernel/handle_table.h" #include "core/hle/kernel/ipc.h" #include "core/hle/kernel/memory.h"