mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 07:45:41 +00:00
hle: kernel: board: Add secure_monitor module.
This commit is contained in:
parent
28be8aec9a
commit
10265ad0e4
|
@ -143,6 +143,7 @@ add_library(core STATIC
|
||||||
hle/ipc_helpers.h
|
hle/ipc_helpers.h
|
||||||
hle/kernel/board/nintendo/nx/k_system_control.cpp
|
hle/kernel/board/nintendo/nx/k_system_control.cpp
|
||||||
hle/kernel/board/nintendo/nx/k_system_control.h
|
hle/kernel/board/nintendo/nx/k_system_control.h
|
||||||
|
hle/kernel/board/nintendo/nx/secure_monitor.h
|
||||||
hle/kernel/client_port.cpp
|
hle/kernel/client_port.cpp
|
||||||
hle/kernel/client_port.h
|
hle/kernel/client_port.h
|
||||||
hle/kernel/client_session.cpp
|
hle/kernel/client_session.cpp
|
||||||
|
|
26
src/core/hle/kernel/board/nintendo/nx/secure_monitor.h
Normal file
26
src/core/hle/kernel/board/nintendo/nx/secure_monitor.h
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
// Copyright 2021 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::Board::Nintendo::Nx::Smc {
|
||||||
|
|
||||||
|
enum MemorySize {
|
||||||
|
MemorySize_4GB = 0,
|
||||||
|
MemorySize_6GB = 1,
|
||||||
|
MemorySize_8GB = 2,
|
||||||
|
};
|
||||||
|
|
||||||
|
enum MemoryArrangement {
|
||||||
|
MemoryArrangement_4GB = 0,
|
||||||
|
MemoryArrangement_4GBForAppletDev = 1,
|
||||||
|
MemoryArrangement_4GBForSystemDev = 2,
|
||||||
|
MemoryArrangement_6GB = 3,
|
||||||
|
MemoryArrangement_6GBForAppletDev = 4,
|
||||||
|
MemoryArrangement_8GB = 5,
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace Kernel::Board::Nintendo::Nx::Smc
|
Loading…
Reference in a new issue