summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.h
blob: b06aac4ec4f6a66e7ed6e1fd451944dfe70682d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include "common/common_types.h"

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