2017-12-16 19:35:37 +00:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
#include <string>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "core/hle/result.h"
|
|
|
|
#include "core/hle/service/gsp/gsp_gpu.h"
|
2018-06-27 14:40:37 +00:00
|
|
|
#include "core/hle/service/gsp/gsp_lcd.h"
|
2017-12-16 19:35:37 +00:00
|
|
|
|
2018-10-05 14:59:43 +00:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2018-09-22 12:23:08 +00:00
|
|
|
namespace Service::GSP {
|
2017-12-16 19:35:37 +00:00
|
|
|
/**
|
|
|
|
* Signals that the specified interrupt type has occurred to userland code
|
|
|
|
* @param interrupt_id ID of interrupt that is being signalled
|
|
|
|
*/
|
|
|
|
void SignalInterrupt(InterruptId interrupt_id);
|
|
|
|
|
2018-10-05 14:59:43 +00:00
|
|
|
void InstallInterfaces(Core::System& system);
|
2020-01-04 00:40:32 +00:00
|
|
|
|
|
|
|
void SetGlobalModule(Core::System& system);
|
2018-09-22 12:23:08 +00:00
|
|
|
} // namespace Service::GSP
|