summaryrefslogtreecommitdiffstats
path: root/src/core/hle/coprocessor.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-02 05:03:50 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-02 05:03:50 +0200
commitf7c6302009aa2453c37a6a7a3b1af4843f620078 (patch)
tree59d429e36b9c3acd60a779ffbf063c59b2079e32 /src/core/hle/coprocessor.h
parentfixed include in coprocessor.cpp (diff)
downloadyuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar.gz
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar.bz2
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar.lz
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar.xz
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.tar.zst
yuzu-f7c6302009aa2453c37a6a7a3b1af4843f620078.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/coprocessor.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/hle/coprocessor.h b/src/core/hle/coprocessor.h
index d6b9f162f..03822af13 100644
--- a/src/core/hle/coprocessor.h
+++ b/src/core/hle/coprocessor.h
@@ -8,13 +8,16 @@
namespace HLE {
-/// MRC operations (ARM register from coprocessor), decoded as instr[20:27]
-enum ARM11_MRC_OPERATION {
+/// Coprocessor operations
+enum CoprocessorOperation {
DATA_SYNCHRONIZATION_BARRIER = 0xE0,
CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
};
-/// Call an MRC operation in HLE
-u32 CallMRC(ARM11_MRC_OPERATION operation);
+/// Call an MCR (move to coprocessor from ARM register) instruction in HLE
+s32 CallMCR(u32 instruction, u32 value);
+
+/// Call an MRC (move to ARM register from coprocessor) instruction in HLE
+s32 CallMRC(u32 instruction);
} // namespace