|
|
|
@ -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_)
|
|
|
|
|