summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/memory/system_control.h
blob: 3fa93111d958ed99a79703b710e6835c31093c39 (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 "common/common_types.h"

namespace Kernel::Memory::SystemControl {

u64 GenerateRandomU64ForInit();

template <typename F>
u64 GenerateUniformRange(u64 min, u64 max, F f);

u64 GenerateRandomRange(u64 min, u64 max);

} // namespace Kernel::Memory::SystemControl