added config_mem module for HLE of firmware configuration memory settings

This commit is contained in:
bunnei 2014-05-06 23:29:39 -04:00
parent d1472b816f
commit 34dc0a9b07
5 changed files with 100 additions and 0 deletions

21
src/core/hle/config_mem.h Normal file
View file

@ -0,0 +1,21 @@
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
// Configuration memory stores various hardware/kernel configuration settings. This memory page is
// read-only for ARM11 processes. I'm guessing this would normally be written to by the firmware/
// bootrom. Because we're not emulating this, and essentially just "stubbing" the functionality, I'm
// putting this as a subset of HLE for now.
#include "common/common_types.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
namespace ConfigMem {
template <typename T>
inline void Read(T &var, const u32 addr);
} // namespace