summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/shared_memory.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-11-01 00:19:20 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-11-24 20:08:36 +0100
commit22c86824a4e4fe8953d7104f2fbdf853d3d30c60 (patch)
tree30f8b8e1d71c08d8da53fb2ba980542aba5b4010 /src/core/hle/kernel/shared_memory.cpp
parentHLE: Revamp error handling throrough the HLE code (diff)
downloadyuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.gz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.bz2
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.lz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.xz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.zst
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/shared_memory.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp
index b91fc98da..cfcc0e0b7 100644
--- a/src/core/hle/kernel/shared_memory.cpp
+++ b/src/core/hle/kernel/shared_memory.cpp
@@ -16,11 +16,6 @@ public:
static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::SharedMemory; }
Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::SharedMemory; }
- /**
- * Wait for kernel object to synchronize
- * @param wait Boolean wait set if current thread should wait as a result of sync operation
- * @return Result of operation, 0 on success, otherwise error code
- */
ResultVal<bool> WaitSynchronization() override {
// TODO(bunnei): ImplementMe
ERROR_LOG(OSHLE, "(UNIMPLEMENTED)");
@@ -48,11 +43,6 @@ SharedMemory* CreateSharedMemory(Handle& handle, const std::string& name) {
return shared_memory;
}
-/**
- * Creates a shared memory object
- * @param name Optional name of shared memory object
- * @return Handle of newly created shared memory object
- */
Handle CreateSharedMemory(const std::string& name) {
Handle handle;
CreateSharedMemory(handle, name);
@@ -86,12 +76,6 @@ ResultCode MapSharedMemory(u32 handle, u32 address, MemoryPermission permissions
return RESULT_SUCCESS;
}
-/**
- * Gets a pointer to the shared memory block
- * @param handle Shared memory block handle
- * @param offset Offset from the start of the shared memory block to get pointer
- * @return Pointer to the shared memory block from the specified offset
- */
ResultVal<u8*> GetSharedMemoryPointer(Handle handle, u32 offset) {
SharedMemory* shared_memory = Kernel::g_object_pool.Get<SharedMemory>(handle);
if (shared_memory == nullptr) return InvalidHandle(ErrorModule::Kernel);