2014-10-30 02:38:33 +01:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-10-30 02:38:33 +01:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-06-27 18:56:17 +02:00
|
|
|
#include <string>
|
|
|
|
|
2014-10-30 02:38:33 +01:00
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
2016-04-24 11:21:10 +02:00
|
|
|
namespace DSP {
|
|
|
|
namespace HLE {
|
|
|
|
enum class DspPipe;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-30 02:38:33 +01:00
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace DSP_DSP
|
|
|
|
|
|
|
|
namespace DSP_DSP {
|
|
|
|
|
|
|
|
class Interface : public Service::Interface {
|
|
|
|
public:
|
|
|
|
Interface();
|
2015-07-17 07:24:13 +02:00
|
|
|
~Interface() override;
|
2014-12-21 20:52:10 +01:00
|
|
|
|
2014-11-12 22:13:08 +01:00
|
|
|
std::string GetPortName() const override {
|
2014-11-26 06:39:36 +01:00
|
|
|
return "dsp::DSP";
|
2014-10-30 02:38:33 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2016-02-21 14:13:52 +01:00
|
|
|
/**
|
2016-04-24 11:21:10 +02:00
|
|
|
* Signal a specific DSP related interrupt of type == InterruptType::Pipe, pipe == pipe.
|
|
|
|
* @param pipe The DSP pipe for which to signal an interrupt for.
|
2016-02-21 14:13:52 +01:00
|
|
|
*/
|
2016-04-24 11:21:10 +02:00
|
|
|
void SignalPipeInterrupt(DSP::HLE::DspPipe pipe);
|
2015-01-05 06:19:28 +01:00
|
|
|
|
2016-04-24 11:21:10 +02:00
|
|
|
} // namespace DSP_DSP
|