diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-15 08:25:10 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-16 07:07:58 +0200 |
commit | 95f203b7c73e358989c55d6636dbd4c42cebd63e (patch) | |
tree | 86d71c3ad9732f791d04532735c9578a86363bcc /src/core/hle/service/spl/spl_results.h | |
parent | Merge pull request #6462 from Morph1984/proper-flush (diff) | |
download | yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar.gz yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar.bz2 yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar.lz yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar.xz yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.tar.zst yuzu-95f203b7c73e358989c55d6636dbd4c42cebd63e.zip |
Diffstat (limited to 'src/core/hle/service/spl/spl_results.h')
-rw-r--r-- | src/core/hle/service/spl/spl_results.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/spl/spl_results.h b/src/core/hle/service/spl/spl_results.h new file mode 100644 index 000000000..878fa91b7 --- /dev/null +++ b/src/core/hle/service/spl/spl_results.h @@ -0,0 +1,29 @@ +// Copyright 2021 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/result.h" + +namespace Service::SPL { + +// Description 0 - 99 +constexpr ResultCode ResultSecureMonitorError{ErrorModule::SPL, 0}; +constexpr ResultCode ResultSecureMonitorNotImplemented{ErrorModule::SPL, 1}; +constexpr ResultCode ResultSecureMonitorInvalidArgument{ErrorModule::SPL, 2}; +constexpr ResultCode ResultSecureMonitorBusy{ErrorModule::SPL, 3}; +constexpr ResultCode ResultSecureMonitorNoAsyncOperation{ErrorModule::SPL, 4}; +constexpr ResultCode ResultSecureMonitorInvalidAsyncOperation{ErrorModule::SPL, 5}; +constexpr ResultCode ResultSecureMonitorNotPermitted{ErrorModule::SPL, 6}; +constexpr ResultCode ResultSecureMonitorNotInitialized{ErrorModule::SPL, 7}; + +constexpr ResultCode ResultInvalidSize{ErrorModule::SPL, 100}; +constexpr ResultCode ResultUnknownSecureMonitorError{ErrorModule::SPL, 101}; +constexpr ResultCode ResultDecryptionFailed{ErrorModule::SPL, 102}; + +constexpr ResultCode ResultOutOfKeySlots{ErrorModule::SPL, 104}; +constexpr ResultCode ResultInvalidKeySlot{ErrorModule::SPL, 105}; +constexpr ResultCode ResultBootReasonAlreadySet{ErrorModule::SPL, 106}; +constexpr ResultCode ResultBootReasonNotSet{ErrorModule::SPL, 107}; +constexpr ResultCode ResultInvalidArgument{ErrorModule::SPL, 108}; + +} // namespace Service::SPL |