summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/coprocessor.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/core/hle/coprocessor.cpp b/src/core/hle/coprocessor.cpp
deleted file mode 100644
index 425959be4..000000000
--- a/src/core/hle/coprocessor.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
1// Copyright 2014 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#include "core/hle/coprocessor.h"
6#include "core/hle/hle.h"
7#include "core/mem_map.h"
8
9namespace HLE {
10
11/// Returns the coprocessor (in this case, syscore) command buffer pointer
12Addr GetThreadCommandBuffer() {
13 // Called on insruction: mrc p15, 0, r0, c13, c0, 3
14 return Memory::KERNEL_MEMORY_VADDR;
15}
16
17/// Call an MRC (move to ARM register from coprocessor) instruction in HLE
18s32 CallMRC(u32 instruction) {
19 CoprocessorOperation operation = (CoprocessorOperation)((instruction >> 20) & 0xFF);
20
21 switch (operation) {
22
23 case CALL_GET_THREAD_COMMAND_BUFFER:
24 return GetThreadCommandBuffer();
25
26 default:
27 DEBUG_LOG(OSHLE, "unknown MRC call 0x%08X", instruction);
28 break;
29 }
30 return -1;
31}
32
33} // namespace