summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/memory/memory_types.h
blob: a75bf77c0000693b52ea67ed07cea1b20b963f50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2020 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <array>

#include "common/common_types.h"

namespace Kernel::Memory {

constexpr std::size_t PageBits{12};
constexpr std::size_t PageSize{1 << PageBits};

using Page = std::array<u8, PageSize>;

} // namespace Kernel::Memory