aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/config_mem.h
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-05-06 23:29:39 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-05-06 23:29:39 -0400
commit34dc0a9b0750321d9556ac2e9c57007526096caf (patch)
treea6f1ab57383d4ea68060462c69ce5ce0dc59aa8a /src/core/hle/config_mem.h
parentd1472b816fdd98a5e2cd2d414a23c133a9c3819d (diff)
added config_mem module for HLE of firmware configuration memory settings
Diffstat (limited to 'src/core/hle/config_mem.h')
-rw-r--r--src/core/hle/config_mem.h21
1 files changed, 21 insertions, 0 deletions
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 <typename T>
+inline void Read(T &var, const u32 addr);
+
+} // namespace