mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 19:20:04 +00:00
a7a5c5aa0d
Right now only MappedBuffers that only span a single page and are not aligned are implemented. MappedBuffers are unmapped during the reply part of ReplyAndReceive. Only unmapping of ReadOnly buffers is currently implemented.
15 lines
507 B
C++
15 lines
507 B
C++
// 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, bool reply);
|
|
} // namespace Kernel
|