mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 14:30:04 +00:00
36 lines
652 B
C++
36 lines
652 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <boost/serialization/export.hpp>
|
|
#include "common/common_types.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
} // namespace Core
|
|
|
|
namespace Kernel {
|
|
|
|
class SVC;
|
|
|
|
class SVCContext {
|
|
public:
|
|
SVCContext(Core::System& system);
|
|
~SVCContext();
|
|
void CallSVC(u32 immediate);
|
|
|
|
private:
|
|
std::unique_ptr<SVC> impl;
|
|
};
|
|
|
|
class SVC_SyncCallback;
|
|
class SVC_IPCCallback;
|
|
|
|
} // namespace Kernel
|
|
|
|
BOOST_CLASS_EXPORT_KEY(Kernel::SVC_SyncCallback)
|
|
BOOST_CLASS_EXPORT_KEY(Kernel::SVC_IPCCallback)
|