summaryrefslogtreecommitdiffstats
path: root/src/core/hle/mrc.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-25 23:15:19 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-25 23:15:19 +0200
commitcb0663de5147f10533ecdbf6f58865f7cbe0241c (patch)
tree30a122d3da59134e431ab2e6ef389d8f00467038 /src/core/hle/mrc.h
parentadded disassembly to unimplemented instruction (diff)
downloadyuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.gz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.bz2
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.lz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.xz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.zst
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/mrc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/hle/mrc.h b/src/core/hle/mrc.h
new file mode 100644
index 000000000..d6b9f162f
--- /dev/null
+++ b/src/core/hle/mrc.h
@@ -0,0 +1,20 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "common/common_types.h"
+
+namespace HLE {
+
+/// MRC operations (ARM register from coprocessor), decoded as instr[20:27]
+enum ARM11_MRC_OPERATION {
+ DATA_SYNCHRONIZATION_BARRIER = 0xE0,
+ CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
+};
+
+/// Call an MRC operation in HLE
+u32 CallMRC(ARM11_MRC_OPERATION operation);
+
+} // namespace