Over the course of the changes to the kernel code, a few includes are no longer necessary, particularly with the change over to std::shared_ptr from Boost's intrusive_ptr.
@@ -11,8 +11,6 @@
#include "core/core_cpu.h"
#include "core/hle/kernel/address_arbiter.h"
#include "core/hle/kernel/errors.h"
-#include "core/hle/kernel/object.h"
-#include "core/hle/kernel/process.h"
#include "core/hle/kernel/scheduler.h"
#include "core/hle/kernel/thread.h"
#include "core/hle/result.h"
@@ -4,10 +4,10 @@
#pragma once
+#include <memory>
#include <vector>
#include "common/common_types.h"
union ResultCode;
@@ -8,7 +8,6 @@
#include "core/hle/kernel/hle_ipc.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/server_port.h"
-#include "core/hle/kernel/server_session.h"
#include "core/hle/kernel/session.h"
namespace Kernel {
@@ -4,7 +4,9 @@
#include <string>
+
@@ -6,6 +6,8 @@
#include <array>
#include <cstddef>
@@ -13,7 +13,6 @@
#include "core/core.h"
#include "core/core_timing.h"
#include "core/core_timing_util.h"
-#include "core/hle/kernel/address_arbiter.h"
#include "core/hle/kernel/client_port.h"
#include "core/hle/kernel/handle_table.h"
@@ -4,6 +4,7 @@
#include <unordered_map>
@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <utility>
@@ -5,6 +5,8 @@
@@ -4,11 +4,12 @@
-#include <mutex>
+#include <atomic>
#include "common/multi_level_queue.h"
namespace Core {
@@ -6,9 +6,9 @@
#include <memory>
+#include <utility>
#include "core/hle/kernel/wait_object.h"
-#include "core/hle/result.h"
@@ -6,7 +6,6 @@
-#include <vector>
@@ -5,7 +5,6 @@
#include "core/hle/kernel/physical_memory.h"
@@ -4,8 +4,9 @@
-#include <boost/smart_ptr/intrusive_ptr.hpp>
@@ -4,6 +4,8 @@