summaryrefslogtreecommitdiffstats
path: root/src/core/hle/coprocessor.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-02 01:20:44 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-02 01:20:44 +0200
commitf0434249150f27d7921a57f70d6af11c12c4e08f (patch)
tree4f1d4e40eb57f729f2533b1acd50c1b8efc903f3 /src/core/hle/coprocessor.h
parent- added some function wrappers for HLE (diff)
downloadyuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar.gz
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar.bz2
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar.lz
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar.xz
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.tar.zst
yuzu-f0434249150f27d7921a57f70d6af11c12c4e08f.zip
Diffstat (limited to 'src/core/hle/coprocessor.h')
-rw-r--r--src/core/hle/coprocessor.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/hle/coprocessor.h b/src/core/hle/coprocessor.h
new file mode 100644
index 000000000..d6b9f162f
--- /dev/null
+++ b/src/core/hle/coprocessor.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