2019-12-09 12:57:37 +01:00
|
|
|
/*
|
2020-01-24 11:10:40 +01:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2019-12-09 12:57:37 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-23 04:47:08 +01:00
|
|
|
#include <vapours/results/results_common.hpp>
|
2019-12-09 12:57:37 +01:00
|
|
|
|
|
|
|
namespace ams::svc {
|
|
|
|
|
|
|
|
R_DEFINE_NAMESPACE_RESULT_MODULE(1);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfSessions, 7);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidArgument, 14);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(NotImplemented, 33);
|
|
|
|
|
2020-01-31 10:53:30 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(NoSynchronizationObject, 57);
|
|
|
|
|
2020-02-08 04:16:09 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(TerminationRequested, 59);
|
2019-12-09 12:57:37 +01:00
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(NoEvent, 70);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidSize, 101);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidAddress, 102);
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfResource, 103);
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfMemory, 104);
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfHandles, 105);
|
2020-02-14 01:18:39 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(InvalidCurrentMemory, 106);
|
2019-12-09 12:57:37 +01:00
|
|
|
|
2020-07-15 03:46:25 +02:00
|
|
|
R_DEFINE_ERROR_RESULT(InvalidNewMemoryPermission, 108);
|
2019-12-09 12:57:37 +01:00
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidMemoryRegion, 110);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidPriority, 112);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidCoreId, 113);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidHandle, 114);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidPointer, 115);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidCombination, 116);
|
|
|
|
R_DEFINE_ERROR_RESULT(TimedOut, 117);
|
|
|
|
R_DEFINE_ERROR_RESULT(Cancelled, 118);
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfRange, 119);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidEnumValue, 120);
|
|
|
|
R_DEFINE_ERROR_RESULT(NotFound, 121);
|
|
|
|
R_DEFINE_ERROR_RESULT(Busy, 122);
|
|
|
|
R_DEFINE_ERROR_RESULT(SessionClosed, 123);
|
|
|
|
R_DEFINE_ERROR_RESULT(NotHandled, 124);
|
|
|
|
R_DEFINE_ERROR_RESULT(InvalidState, 125);
|
2020-02-19 13:55:00 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(ReservedUsed, 126);
|
2019-12-09 12:57:37 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(NotSupported, 127);
|
|
|
|
R_DEFINE_ERROR_RESULT(Debug, 128);
|
|
|
|
R_DEFINE_ERROR_RESULT(ThreadNotOwned, 129);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(PortClosed, 131);
|
|
|
|
R_DEFINE_ERROR_RESULT(LimitReached, 132);
|
|
|
|
|
|
|
|
R_DEFINE_ERROR_RESULT(ReceiveListBroken, 258);
|
|
|
|
R_DEFINE_ERROR_RESULT(OutOfAddressSpace, 259);
|
|
|
|
R_DEFINE_ERROR_RESULT(MessageTooLarge, 260);
|
|
|
|
|
2020-07-19 05:03:27 +02:00
|
|
|
R_DEFINE_ERROR_RESULT(InvalidProcessId, 517);
|
2019-12-09 12:57:37 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(ProcessTerminated, 520);
|
|
|
|
|
|
|
|
}
|