spl: Add SPL result codes
This commit is contained in:
parent
78651b5476
commit
95f203b7c7
@ -550,6 +550,7 @@ add_library(core STATIC
|
|||||||
hle/service/spl/module.h
|
hle/service/spl/module.h
|
||||||
hle/service/spl/spl.cpp
|
hle/service/spl/spl.cpp
|
||||||
hle/service/spl/spl.h
|
hle/service/spl/spl.h
|
||||||
|
hle/service/spl/spl_results.h
|
||||||
hle/service/ssl/ssl.cpp
|
hle/service/ssl/ssl.cpp
|
||||||
hle/service/ssl/ssl.h
|
hle/service/ssl/ssl.h
|
||||||
hle/service/time/clock_types.h
|
hle/service/time/clock_types.h
|
||||||
|
29
src/core/hle/service/spl/spl_results.h
Normal file
29
src/core/hle/service/spl/spl_results.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user