mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-05 02:43:46 +01:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
23 lines
638 B
C++
23 lines
638 B
C++
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
#include "common/literals.h"
|
|
#include "core/hle/kernel/board/nintendo/nx/k_memory_layout.h"
|
|
#include "core/hle/kernel/board/nintendo/nx/k_system_control.h"
|
|
|
|
namespace Kernel {
|
|
|
|
using namespace Common::Literals;
|
|
|
|
constexpr std::size_t InitialProcessBinarySizeMax = 12_MiB;
|
|
|
|
static inline PAddr GetInitialProcessBinaryPhysicalAddress() {
|
|
return Kernel::Board::Nintendo::Nx::KSystemControl::Init::GetKernelPhysicalBaseAddress(
|
|
MainMemoryAddress);
|
|
}
|
|
|
|
} // namespace Kernel
|