From 34dc0a9b0750321d9556ac2e9c57007526096caf Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 6 May 2014 23:29:39 -0400 Subject: added config_mem module for HLE of firmware configuration memory settings --- src/core/hle/config_mem.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/core/hle/config_mem.h (limited to 'src/core/hle/config_mem.h') diff --git a/src/core/hle/config_mem.h b/src/core/hle/config_mem.h new file mode 100644 index 00000000..da396a3e --- /dev/null +++ b/src/core/hle/config_mem.h @@ -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 +inline void Read(T &var, const u32 addr); + +} // namespace -- cgit v1.2.3