summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoritsmeft24 <rishabh.tumminkatti@gmail.com>2021-12-06 00:49:40 +0100
committeritsmeft24 <rishabh.tumminkatti@gmail.com>2021-12-06 00:49:40 +0100
commit8254f238b9e71c0292bc6456afb92086113b12ac (patch)
tree217a863ace15099485ea65e6e2d11935269c8b39 /src
parentAdd copyright notice (diff)
downloadyuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar.gz
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar.bz2
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar.lz
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar.xz
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.tar.zst
yuzu-8254f238b9e71c0292bc6456afb92086113b12ac.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_code_memory.cpp31
-rw-r--r--src/core/hle/kernel/k_code_memory.h32
2 files changed, 13 insertions, 50 deletions
diff --git a/src/core/hle/kernel/k_code_memory.cpp b/src/core/hle/kernel/k_code_memory.cpp
index 2e436fb4a..9264faf4e 100644
--- a/src/core/hle/kernel/k_code_memory.cpp
+++ b/src/core/hle/kernel/k_code_memory.cpp
@@ -2,36 +2,19 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include "core/core.h"
-#include "core/core_timing.h"
-#include "core/hle/kernel/k_client_port.h"
-#include "core/hle/kernel/k_client_session.h"
+#include "common/common_types.h"
+#include "core/device_memory.h"
+#include "core/hle/kernel/k_auto_object.h"
#include "core/hle/kernel/k_code_memory.h"
-#include "core/hle/kernel/k_event.h"
-#include "core/hle/kernel/k_handle_table.h"
+#include "core/hle/kernel/k_light_lock.h"
#include "core/hle/kernel/k_memory_block.h"
-#include "core/hle/kernel/k_memory_layout.h"
+#include "core/hle/kernel/k_page_linked_list.h"
#include "core/hle/kernel/k_page_table.h"
#include "core/hle/kernel/k_process.h"
-#include "core/hle/kernel/k_readable_event.h"
-#include "core/hle/kernel/k_resource_limit.h"
-#include "core/hle/kernel/k_scheduler.h"
-#include "core/hle/kernel/k_scoped_resource_reservation.h"
-#include "core/hle/kernel/k_shared_memory.h"
-#include "core/hle/kernel/k_synchronization_object.h"
-#include "core/hle/kernel/k_thread.h"
-#include "core/hle/kernel/k_transfer_memory.h"
-#include "core/hle/kernel/k_writable_event.h"
-#include "core/hle/kernel/kernel.h"
-#include "core/hle/kernel/physical_core.h"
-#include "core/hle/kernel/svc.h"
-#include "core/hle/kernel/svc_results.h"
#include "core/hle/kernel/svc_types.h"
-#include "core/hle/kernel/svc_wrap.h"
-#include "core/hle/lock.h"
+#include "core/hle/kernel/slab_helpers.h"
#include "core/hle/result.h"
-#include "core/memory.h"
-#include "core/reporter.h"
+
namespace Kernel {
KCodeMemory::KCodeMemory(KernelCore& kernel_)
diff --git a/src/core/hle/kernel/k_code_memory.h b/src/core/hle/kernel/k_code_memory.h
index 3961105a6..da60ece67 100644
--- a/src/core/hle/kernel/k_code_memory.h
+++ b/src/core/hle/kernel/k_code_memory.h
@@ -4,35 +4,15 @@
#pragma once
-#include "core/core.h"
-#include "core/core_timing.h"
-#include "core/hle/kernel/k_client_port.h"
-#include "core/hle/kernel/k_client_session.h"
-#include "core/hle/kernel/k_event.h"
-#include "core/hle/kernel/k_handle_table.h"
-#include "core/hle/kernel/k_memory_block.h"
-#include "core/hle/kernel/k_memory_layout.h"
-#include "core/hle/kernel/k_page_table.h"
+#include "common/common_types.h"
+#include "core/device_memory.h"
+#include "core/hle/kernel/k_auto_object.h"
+#include "core/hle/kernel/k_light_lock.h"
+#include "core/hle/kernel/k_page_linked_list.h"
#include "core/hle/kernel/k_process.h"
-#include "core/hle/kernel/k_readable_event.h"
-#include "core/hle/kernel/k_resource_limit.h"
-#include "core/hle/kernel/k_scheduler.h"
-#include "core/hle/kernel/k_scoped_resource_reservation.h"
-#include "core/hle/kernel/k_shared_memory.h"
-#include "core/hle/kernel/k_synchronization_object.h"
-#include "core/hle/kernel/k_thread.h"
-#include "core/hle/kernel/k_transfer_memory.h"
-#include "core/hle/kernel/k_writable_event.h"
-#include "core/hle/kernel/kernel.h"
-#include "core/hle/kernel/physical_core.h"
-#include "core/hle/kernel/svc.h"
-#include "core/hle/kernel/svc_results.h"
#include "core/hle/kernel/svc_types.h"
-#include "core/hle/kernel/svc_wrap.h"
-#include "core/hle/lock.h"
+#include "core/hle/kernel/slab_helpers.h"
#include "core/hle/result.h"
-#include "core/memory.h"
-#include "core/reporter.h"
namespace Kernel {