2020-12-27 23:56:57 -05: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-16 01:02:33 -05:00
|
|
|
constexpr ResultCode ResultNoSynchronizationObject{ErrorModule::Kernel, 57};
|
2020-12-27 23:56:57 -05:00
|
|
|
constexpr ResultCode ResultTerminationRequested{ErrorModule::Kernel, 59};
|
|
|
|
constexpr ResultCode ResultInvalidAddress{ErrorModule::Kernel, 102};
|
|
|
|
constexpr ResultCode ResultInvalidCurrentMemory{ErrorModule::Kernel, 106};
|
2021-01-01 05:06:06 -05:00
|
|
|
constexpr ResultCode ResultInvalidPriority{ErrorModule::Kernel, 112};
|
2021-01-03 04:49:18 -05:00
|
|
|
constexpr ResultCode ResultInvalidCoreId{ErrorModule::Kernel, 113};
|
2020-12-27 23:56:57 -05:00
|
|
|
constexpr ResultCode ResultInvalidHandle{ErrorModule::Kernel, 114};
|
2021-01-16 01:02:33 -05:00
|
|
|
constexpr ResultCode ResultInvalidCombination{ErrorModule::Kernel, 116};
|
2020-12-27 23:56:57 -05:00
|
|
|
constexpr ResultCode ResultTimedOut{ErrorModule::Kernel, 117};
|
|
|
|
constexpr ResultCode ResultCancelled{ErrorModule::Kernel, 118};
|
|
|
|
constexpr ResultCode ResultInvalidEnumValue{ErrorModule::Kernel, 120};
|
2021-01-16 01:02:33 -05:00
|
|
|
constexpr ResultCode ResultBusy{ErrorModule::Kernel, 122};
|
2020-12-27 23:56:57 -05:00
|
|
|
constexpr ResultCode ResultInvalidState{ErrorModule::Kernel, 125};
|
|
|
|
|
|
|
|
} // namespace Kernel::Svc
|