diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-03 02:40:30 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-03 02:40:30 +0100 |
commit | 480906fe1b31a8830aec80fbea04ec941894003f (patch) | |
tree | cef091503185cde98d5a8a6cd64bda83d6b8ff38 /src/core/hle/svc.h | |
parent | svc: Improve svcGetInfo. (diff) | |
download | yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar.gz yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar.bz2 yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar.lz yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar.xz yuzu-480906fe1b31a8830aec80fbea04ec941894003f.tar.zst yuzu-480906fe1b31a8830aec80fbea04ec941894003f.zip |
Diffstat (limited to 'src/core/hle/svc.h')
-rw-r--r-- | src/core/hle/svc.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/core/hle/svc.h b/src/core/hle/svc.h deleted file mode 100644 index fd001a38e..000000000 --- a/src/core/hle/svc.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2014 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "common/common_types.h" - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// SVC types - -struct MemoryInfo { - u64 base_address; - u64 size; - u32 type; - u32 attributes; - u32 permission; -}; - -struct PageInfo { - u64 flags; -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace SVC - -namespace SVC { - -/// Values accepted by svcGetInfo -enum class GetInfoType : u64 { - // 1.0.0+ - TotalMemoryUsage = 6, - TotalHeapUsage = 7, - RandomEntropy = 11, - // 2.0.0+ - AddressSpaceBaseAddr = 12, - AddressSpaceSize = 13, - NewMapRegionBaseAddr = 14, - NewMapRegionSize = 15, -}; - -void CallSVC(u32 immediate); - -} // namespace SVC |