Kernel/IPC: Added a function to translate the IPC command buffer from one process to another.
Currently only CopyHandle, MoveHandle and CallingPid descriptors are implemented.
This commit is contained in:
parent
b579bf0cc2
commit
7cf7999e02
4 changed files with 110 additions and 1 deletions
14
src/core/hle/kernel/ipc.h
Normal file
14
src/core/hle/kernel/ipc.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright 2017 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "core/hle/kernel/thread.h"
|
||||
|
||||
namespace Kernel {
|
||||
/// Performs IPC command buffer translation from one process to another.
|
||||
ResultCode TranslateCommandBuffer(SharedPtr<Thread> src_thread, SharedPtr<Thread> dst_thread,
|
||||
VAddr src_address, VAddr dst_address);
|
||||
} // namespace Kernel
|
Loading…
Add table
Add a link
Reference in a new issue