aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/coprocessor.h
blob: 03822af13e9ab58433f441b71dfeae59d937fa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.  

#pragma once

#include "common/common_types.h"

namespace HLE {

/// Coprocessor operations
enum CoprocessorOperation {
    DATA_SYNCHRONIZATION_BARRIER    = 0xE0,
    CALL_GET_THREAD_COMMAND_BUFFER  = 0xE1,
};

/// 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