mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Add loader and libhac results
This commit is contained in:
parent
3cd53a7de3
commit
9cc60e22ec
5 changed files with 165 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
Name,Index
|
||||
Fs,2
|
||||
Loader,9
|
||||
Kvdb,20
|
||||
Sdmmc,24
|
||||
Sdmmc,24
|
||||
LibHac,428
|
|
|
@ -1,4 +1,6 @@
|
|||
Name,Namespace,Path
|
||||
Fs,LibHac.Fs,LibHac/Fs/ResultFs.cs
|
||||
Loader,LibHac.Loader,LibHac/Loader/ResultLoader.cs
|
||||
Kvdb,LibHac.Kvdb,LibHac/Kvdb/ResultKvdb.cs
|
||||
Sdmmc,LibHac.FsService,LibHac/FsService/ResultSdmmc.cs
|
||||
Sdmmc,LibHac.FsService,LibHac/FsService/ResultSdmmc.cs
|
||||
LibHac,LibHac.Common,LibHac/Common/ResultLibHac.cs
|
|
|
@ -229,6 +229,45 @@ Module,DescriptionStart,DescriptionEnd,Name,Summary
|
|||
2,6905,,NotMounted,
|
||||
2,6906,,SaveDataIsExtending,
|
||||
|
||||
9,1,,TooLongArgument,
|
||||
9,2,,TooManyArguments,
|
||||
9,3,,TooLargeMeta,
|
||||
9,4,,InvalidMeta,
|
||||
9,5,,InvalidNso,
|
||||
9,6,,InvalidPath,
|
||||
9,7,,TooManyProcesses,
|
||||
9,8,,NotPinned,
|
||||
9,9,,InvalidProgramId,
|
||||
9,10,,InvalidVersion,
|
||||
|
||||
9,51,,InsufficientAddressSpace,
|
||||
9,52,,InvalidNro,
|
||||
9,53,,InvalidNrr,
|
||||
9,54,,InvalidSignature,
|
||||
9,55,,InsufficientNroRegistrations,
|
||||
9,56,,InsufficientNrrRegistrations,
|
||||
9,57,,NroAlreadyLoaded,
|
||||
|
||||
9,81,,InvalidAddress,
|
||||
9,82,,InvalidSize,
|
||||
9,84,,NotLoaded,
|
||||
9,85,,NotRegistered,
|
||||
9,86,,InvalidSession,
|
||||
9,87,,InvalidProcess,
|
||||
|
||||
9,100,,UnknownCapability,
|
||||
9,103,,InvalidCapabilityKernelFlags,
|
||||
9,104,,InvalidCapabilitySyscallMask,
|
||||
9,106,,InvalidCapabilityMapRange,
|
||||
9,107,,InvalidCapabilityMapPage,
|
||||
9,111,,InvalidCapabilityInterruptPair,
|
||||
9,113,,InvalidCapabilityApplicationType,
|
||||
9,114,,InvalidCapabilityKernelVersion,
|
||||
9,115,,InvalidCapabilityHandleTable,
|
||||
9,116,,InvalidCapabilityDebugFlags,
|
||||
|
||||
9,200,,InternalError,
|
||||
|
||||
20,1,,TooLargeKeyOrDbFull,
|
||||
20,2,,KeyNotFound,
|
||||
20,4,,AllocationFailed,
|
||||
|
@ -261,4 +300,9 @@ Module,DescriptionStart,DescriptionEnd,Name,Summary
|
|||
205,110,,IrsensorUnconnected,
|
||||
205,111,,IrsensorUnsupported,
|
||||
205,120,,IrsensorNotReady,
|
||||
205,122,139,IrsensorDeviceError,
|
||||
205,122,139,IrsensorDeviceError,
|
||||
|
||||
428,1,49,InvalidArgument,
|
||||
428,2,,NullArgument,
|
||||
428,3,,ArgumentOutOfRange,
|
||||
428,4,,BufferTooSmall,
|
||||
|
|
|
27
src/LibHac/Common/ResultLibHac.cs
Normal file
27
src/LibHac/Common/ResultLibHac.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This file was automatically generated.
|
||||
// Changes to this file will be lost when the file is regenerated.
|
||||
//
|
||||
// To change this file, modify /build/CodeGen/results.csv at the root of this
|
||||
// repo and run the build script.
|
||||
//
|
||||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
namespace LibHac.Common
|
||||
{
|
||||
public static class ResultLibHac
|
||||
{
|
||||
public const int ModuleLibHac = 428;
|
||||
|
||||
/// <summary>Error code: 2428-0001; Range: 1-49; Inner value: 0x3ac</summary>
|
||||
public static Result.Base InvalidArgument => new Result.Base(ModuleLibHac, 1, 49);
|
||||
/// <summary>Error code: 2428-0002; Inner value: 0x5ac</summary>
|
||||
public static Result.Base NullArgument => new Result.Base(ModuleLibHac, 2);
|
||||
/// <summary>Error code: 2428-0003; Inner value: 0x7ac</summary>
|
||||
public static Result.Base ArgumentOutOfRange => new Result.Base(ModuleLibHac, 3);
|
||||
/// <summary>Error code: 2428-0004; Inner value: 0x9ac</summary>
|
||||
public static Result.Base BufferTooSmall => new Result.Base(ModuleLibHac, 4);
|
||||
}
|
||||
}
|
87
src/LibHac/Loader/ResultLoader.cs
Normal file
87
src/LibHac/Loader/ResultLoader.cs
Normal file
|
@ -0,0 +1,87 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This file was automatically generated.
|
||||
// Changes to this file will be lost when the file is regenerated.
|
||||
//
|
||||
// To change this file, modify /build/CodeGen/results.csv at the root of this
|
||||
// repo and run the build script.
|
||||
//
|
||||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
namespace LibHac.Loader
|
||||
{
|
||||
public static class ResultLoader
|
||||
{
|
||||
public const int ModuleLoader = 9;
|
||||
|
||||
/// <summary>Error code: 2009-0001; Inner value: 0x209</summary>
|
||||
public static Result.Base TooLongArgument => new Result.Base(ModuleLoader, 1);
|
||||
/// <summary>Error code: 2009-0002; Inner value: 0x409</summary>
|
||||
public static Result.Base TooManyArguments => new Result.Base(ModuleLoader, 2);
|
||||
/// <summary>Error code: 2009-0003; Inner value: 0x609</summary>
|
||||
public static Result.Base TooLargeMeta => new Result.Base(ModuleLoader, 3);
|
||||
/// <summary>Error code: 2009-0004; Inner value: 0x809</summary>
|
||||
public static Result.Base InvalidMeta => new Result.Base(ModuleLoader, 4);
|
||||
/// <summary>Error code: 2009-0005; Inner value: 0xa09</summary>
|
||||
public static Result.Base InvalidNso => new Result.Base(ModuleLoader, 5);
|
||||
/// <summary>Error code: 2009-0006; Inner value: 0xc09</summary>
|
||||
public static Result.Base InvalidPath => new Result.Base(ModuleLoader, 6);
|
||||
/// <summary>Error code: 2009-0007; Inner value: 0xe09</summary>
|
||||
public static Result.Base TooManyProcesses => new Result.Base(ModuleLoader, 7);
|
||||
/// <summary>Error code: 2009-0008; Inner value: 0x1009</summary>
|
||||
public static Result.Base NotPinned => new Result.Base(ModuleLoader, 8);
|
||||
/// <summary>Error code: 2009-0009; Inner value: 0x1209</summary>
|
||||
public static Result.Base InvalidProgramId => new Result.Base(ModuleLoader, 9);
|
||||
/// <summary>Error code: 2009-0010; Inner value: 0x1409</summary>
|
||||
public static Result.Base InvalidVersion => new Result.Base(ModuleLoader, 10);
|
||||
/// <summary>Error code: 2009-0051; Inner value: 0x6609</summary>
|
||||
public static Result.Base InsufficientAddressSpace => new Result.Base(ModuleLoader, 51);
|
||||
/// <summary>Error code: 2009-0052; Inner value: 0x6809</summary>
|
||||
public static Result.Base InvalidNro => new Result.Base(ModuleLoader, 52);
|
||||
/// <summary>Error code: 2009-0053; Inner value: 0x6a09</summary>
|
||||
public static Result.Base InvalidNrr => new Result.Base(ModuleLoader, 53);
|
||||
/// <summary>Error code: 2009-0054; Inner value: 0x6c09</summary>
|
||||
public static Result.Base InvalidSignature => new Result.Base(ModuleLoader, 54);
|
||||
/// <summary>Error code: 2009-0055; Inner value: 0x6e09</summary>
|
||||
public static Result.Base InsufficientNroRegistrations => new Result.Base(ModuleLoader, 55);
|
||||
/// <summary>Error code: 2009-0056; Inner value: 0x7009</summary>
|
||||
public static Result.Base InsufficientNrrRegistrations => new Result.Base(ModuleLoader, 56);
|
||||
/// <summary>Error code: 2009-0057; Inner value: 0x7209</summary>
|
||||
public static Result.Base NroAlreadyLoaded => new Result.Base(ModuleLoader, 57);
|
||||
/// <summary>Error code: 2009-0081; Inner value: 0xa209</summary>
|
||||
public static Result.Base InvalidAddress => new Result.Base(ModuleLoader, 81);
|
||||
/// <summary>Error code: 2009-0082; Inner value: 0xa409</summary>
|
||||
public static Result.Base InvalidSize => new Result.Base(ModuleLoader, 82);
|
||||
/// <summary>Error code: 2009-0084; Inner value: 0xa809</summary>
|
||||
public static Result.Base NotLoaded => new Result.Base(ModuleLoader, 84);
|
||||
/// <summary>Error code: 2009-0085; Inner value: 0xaa09</summary>
|
||||
public static Result.Base NotRegistered => new Result.Base(ModuleLoader, 85);
|
||||
/// <summary>Error code: 2009-0086; Inner value: 0xac09</summary>
|
||||
public static Result.Base InvalidSession => new Result.Base(ModuleLoader, 86);
|
||||
/// <summary>Error code: 2009-0087; Inner value: 0xae09</summary>
|
||||
public static Result.Base InvalidProcess => new Result.Base(ModuleLoader, 87);
|
||||
/// <summary>Error code: 2009-0100; Inner value: 0xc809</summary>
|
||||
public static Result.Base UnknownCapability => new Result.Base(ModuleLoader, 100);
|
||||
/// <summary>Error code: 2009-0103; Inner value: 0xce09</summary>
|
||||
public static Result.Base InvalidCapabilityKernelFlags => new Result.Base(ModuleLoader, 103);
|
||||
/// <summary>Error code: 2009-0104; Inner value: 0xd009</summary>
|
||||
public static Result.Base InvalidCapabilitySyscallMask => new Result.Base(ModuleLoader, 104);
|
||||
/// <summary>Error code: 2009-0106; Inner value: 0xd409</summary>
|
||||
public static Result.Base InvalidCapabilityMapRange => new Result.Base(ModuleLoader, 106);
|
||||
/// <summary>Error code: 2009-0107; Inner value: 0xd609</summary>
|
||||
public static Result.Base InvalidCapabilityMapPage => new Result.Base(ModuleLoader, 107);
|
||||
/// <summary>Error code: 2009-0111; Inner value: 0xde09</summary>
|
||||
public static Result.Base InvalidCapabilityInterruptPair => new Result.Base(ModuleLoader, 111);
|
||||
/// <summary>Error code: 2009-0113; Inner value: 0xe209</summary>
|
||||
public static Result.Base InvalidCapabilityApplicationType => new Result.Base(ModuleLoader, 113);
|
||||
/// <summary>Error code: 2009-0114; Inner value: 0xe409</summary>
|
||||
public static Result.Base InvalidCapabilityKernelVersion => new Result.Base(ModuleLoader, 114);
|
||||
/// <summary>Error code: 2009-0115; Inner value: 0xe609</summary>
|
||||
public static Result.Base InvalidCapabilityHandleTable => new Result.Base(ModuleLoader, 115);
|
||||
/// <summary>Error code: 2009-0116; Inner value: 0xe809</summary>
|
||||
public static Result.Base InvalidCapabilityDebugFlags => new Result.Base(ModuleLoader, 116);
|
||||
/// <summary>Error code: 2009-0200; Inner value: 0x19009</summary>
|
||||
public static Result.Base InternalError => new Result.Base(ModuleLoader, 200);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue