summaryrefslogtreecommitdiff
path: root/src/core/hle/service/gsp.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-18 17:52:49 -0400
committerGravatar bunnei2014-04-18 17:52:49 -0400
commit958bca606e80110e05d7c142dda3097fddc96503 (patch)
tree576917751444b4dfdb476d040b4e075bde431b7b /src/core/hle/service/gsp.cpp
parentInit window size from VideoCore. Start changing the default window behavior... (diff)
parentrenamed hw_lcd module to just lcd (diff)
downloadyuzu-958bca606e80110e05d7c142dda3097fddc96503.tar.gz
yuzu-958bca606e80110e05d7c142dda3097fddc96503.tar.xz
yuzu-958bca606e80110e05d7c142dda3097fddc96503.zip
Merge branch 'hle-interface'
Diffstat (limited to 'src/core/hle/service/gsp.cpp')
-rw-r--r--src/core/hle/service/gsp.cpp59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp.cpp b/src/core/hle/service/gsp.cpp
new file mode 100644
index 000000000..7c80ab8b5
--- /dev/null
+++ b/src/core/hle/service/gsp.cpp
@@ -0,0 +1,59 @@
1// Copyright 2014 Citra Emulator Project
2// Licensed under GPLv2
3// Refer to the license.txt file included.
4
5
6#include "common/log.h"
7
8#include "core/hle/hle.h"
9#include "core/hle/service/gsp.h"
10
11////////////////////////////////////////////////////////////////////////////////////////////////////
12// Namespace GSP_GPU
13
14namespace GSP_GPU {
15
16const HLE::FunctionDef FunctionTable[] = {
17 {0x00010082, NULL, "WriteHWRegs"},
18 {0x00020084, NULL, "WriteHWRegsWithMask"},
19 {0x00030082, NULL, "WriteHWRegRepeat"},
20 {0x00040080, NULL, "ReadHWRegs"},
21 {0x00050200, NULL, "SetBufferSwap"},
22 {0x00060082, NULL, "SetCommandList"},
23 {0x000700C2, NULL, "RequestDma"},
24 {0x00080082, NULL, "FlushDataCache"},
25 {0x00090082, NULL, "InvalidateDataCache"},
26 {0x000A0044, NULL, "RegisterInterruptEvents"},
27 {0x000B0040, NULL, "SetLcdForceBlack"},
28 {0x000C0000, NULL, "TriggerCmdReqQueue"},
29 {0x000D0140, NULL, "SetDisplayTransfer"},
30 {0x000E0180, NULL, "SetTextureCopy"},
31 {0x000F0200, NULL, "SetMemoryFill"},
32 {0x00100040, NULL, "SetAxiConfigQoSMode"},
33 {0x00110040, NULL, "SetPerfLogMode"},
34 {0x00120000, NULL, "GetPerfLog"},
35 {0x00130042, NULL, "RegisterInterruptRelayQueue"},
36 {0x00140000, NULL, "UnregisterInterruptRelayQueue"},
37 {0x00150002, NULL, "TryAcquireRight"},
38 {0x00160042, NULL, "AcquireRight"},
39 {0x00170000, NULL, "ReleaseRight"},
40 {0x00180000, NULL, "ImportDisplayCaptureInfo"},
41 {0x00190000, NULL, "SaveVramSysArea"},
42 {0x001A0000, NULL, "RestoreVramSysArea"},
43 {0x001B0000, NULL, "ResetGpuCore"},
44 {0x001C0040, NULL, "SetLedForceOff"},
45 {0x001D0040, NULL, "SetTestCommand"},
46 {0x001E0080, NULL, "SetInternalPriorities"},
47};
48
49////////////////////////////////////////////////////////////////////////////////////////////////////
50// Interface class
51
52Interface::Interface() {
53 Register(FunctionTable, ARRAY_SIZE(FunctionTable));
54}
55
56Interface::~Interface() {
57}
58
59} // namespace