yuzu/src/core/hle/kernel/svc_results.h

26 lines
1.1 KiB
C
Raw Normal View History

2020-12-31 11:31:47 +04:00
// Copyright 2020 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "core/hle/result.h"
namespace Kernel::Svc {
2021-01-22 04:15:25 +04:00
constexpr ResultCode ResultNoSynchronizationObject{ErrorModule::Kernel, 57};
2020-12-31 11:31:47 +04:00
constexpr ResultCode ResultTerminationRequested{ErrorModule::Kernel, 59};
constexpr ResultCode ResultInvalidAddress{ErrorModule::Kernel, 102};
constexpr ResultCode ResultInvalidCurrentMemory{ErrorModule::Kernel, 106};
2021-01-22 04:15:25 +04:00
constexpr ResultCode ResultInvalidPriority{ErrorModule::Kernel, 112};
constexpr ResultCode ResultInvalidCoreId{ErrorModule::Kernel, 113};
2020-12-31 11:31:47 +04:00
constexpr ResultCode ResultInvalidHandle{ErrorModule::Kernel, 114};
2021-01-22 04:15:25 +04:00
constexpr ResultCode ResultInvalidCombination{ErrorModule::Kernel, 116};
2020-12-31 11:31:47 +04:00
constexpr ResultCode ResultTimedOut{ErrorModule::Kernel, 117};
constexpr ResultCode ResultCancelled{ErrorModule::Kernel, 118};
constexpr ResultCode ResultInvalidEnumValue{ErrorModule::Kernel, 120};
2021-01-22 04:15:25 +04:00
constexpr ResultCode ResultBusy{ErrorModule::Kernel, 122};
2020-12-31 11:31:47 +04:00
constexpr ResultCode ResultInvalidState{ErrorModule::Kernel, 125};
} // namespace Kernel::Svc