diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-11 16:51:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-11 16:51:41 -0400 |
| commit | 3fd26b7147d8ece1a71341354c11f08d24eeb629 (patch) | |
| tree | a282946b2f74fc7ea07ec63063549793d60f732b /src/core/hle/kernel/errors.h | |
| parent | bc293e1751f090c46620e13e9d31a06acf9c575d (diff) | |
| parent | 72e9cb523e1adfe744aab1d9a05f3c804fe86ccb (diff) | |
Merge pull request #1472 from lioncash/san
svc: Add missing address range sanitizing checks to MapMemory/UnmapMemory
Diffstat (limited to 'src/core/hle/kernel/errors.h')
| -rw-r--r-- | src/core/hle/kernel/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h index e5fa67ae8..885259618 100644 --- a/src/core/hle/kernel/errors.h +++ b/src/core/hle/kernel/errors.h @@ -22,6 +22,7 @@ enum { HandleTableFull = 105, InvalidMemoryState = 106, InvalidMemoryPermissions = 108, + InvalidMemoryRange = 110, InvalidThreadPriority = 112, InvalidProcessorId = 113, InvalidHandle = 114, @@ -56,6 +57,7 @@ constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidA constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState); constexpr ResultCode ERR_INVALID_MEMORY_PERMISSIONS(ErrorModule::Kernel, ErrCodes::InvalidMemoryPermissions); +constexpr ResultCode ERR_INVALID_MEMORY_RANGE(ErrorModule::Kernel, ErrCodes::InvalidMemoryRange); constexpr ResultCode ERR_INVALID_HANDLE(ErrorModule::Kernel, ErrCodes::InvalidHandle); constexpr ResultCode ERR_INVALID_PROCESSOR_ID(ErrorModule::Kernel, ErrCodes::InvalidProcessorId); constexpr ResultCode ERR_INVALID_SIZE(ErrorModule::Kernel, ErrCodes::InvalidSize); |
