2014-04-25 23:15:19 +02: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 05:03:50 +02:00
|
|
|
/// Coprocessor operations
|
|
|
|
enum CoprocessorOperation {
|
2014-04-25 23:15:19 +02:00
|
|
|
DATA_SYNCHRONIZATION_BARRIER = 0xE0,
|
|
|
|
CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
|
|
|
|
};
|
|
|
|
|
2014-05-02 05:03:50 +02: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 23:15:19 +02:00
|
|
|
|
|
|
|
} // namespace
|