2014-04-25 21:15:19 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
namespace HLE {
|
|
|
|
|
2014-05-02 03:03:50 +00:00
|
|
|
/// Coprocessor operations
|
|
|
|
enum CoprocessorOperation {
|
2014-04-25 21:15:19 +00:00
|
|
|
DATA_SYNCHRONIZATION_BARRIER = 0xE0,
|
|
|
|
CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
|
|
|
|
};
|
|
|
|
|
2014-05-02 03:03:50 +00:00
|
|
|
/// 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);
|
2014-04-25 21:15:19 +00:00
|
|
|
|
|
|
|
} // namespace
|