aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-12 11:04:10 -0500
committerLioncash <mathew1800@gmail.com>2018-12-12 14:03:53 -0500
commitc02b8c895b49b511a4316ee5e7bf1ab9a081869b (patch)
tree12fd3273e244512cfa44ac203b963edcd5341997 /src/core/hle/kernel/svc.h
parent366985ca925c28867b4cdf847db978acd6c2db1e (diff)
vm_manager: Migrate MemoryInfo and PageInfo to vm_manager.h
Gets the two structures out of an unrelated header and places them with the rest of the memory management code. This also corrects the structures. PageInfo appears to only contain a 32-bit flags member, and the extra padding word in MemoryInfo isn't necessary.
Diffstat (limited to 'src/core/hle/kernel/svc.h')
-rw-r--r--src/core/hle/kernel/svc.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/hle/kernel/svc.h b/src/core/hle/kernel/svc.h
index b06aac4ec..c37ae0f98 100644
--- a/src/core/hle/kernel/svc.h
+++ b/src/core/hle/kernel/svc.h
@@ -8,22 +8,6 @@
namespace Kernel {
-struct MemoryInfo {
- u64 base_address;
- u64 size;
- u32 type;
- u32 attributes;
- u32 permission;
- u32 device_refcount;
- u32 ipc_refcount;
- INSERT_PADDING_WORDS(1);
-};
-static_assert(sizeof(MemoryInfo) == 0x28, "MemoryInfo has incorrect size.");
-
-struct PageInfo {
- u64 flags;
-};
-
void CallSVC(u32 immediate);
} // namespace Kernel