|
|
|
@ -15,8 +15,6 @@
|
|
|
|
|
#include "core/hle/kernel/process.h"
|
|
|
|
|
#include "core/hle/kernel/server_session.h"
|
|
|
|
|
|
|
|
|
|
SERIALIZE_EXPORT_IMPL(Kernel::SessionRequestHandler::SessionDataBase)
|
|
|
|
|
|
|
|
|
|
namespace Kernel {
|
|
|
|
|
|
|
|
|
|
static std::shared_ptr<Object> MakeObject(Kernel::KernelSystem& kernel) {
|
|
|
|
@ -26,7 +24,8 @@ static std::shared_ptr<Object> MakeObject(Kernel::KernelSystem& kernel) {
|
|
|
|
|
TEST_CASE("HLERequestContext::PopulateFromIncomingCommandBuffer", "[core][kernel]") {
|
|
|
|
|
Core::Timing timing(1, 100);
|
|
|
|
|
Memory::MemorySystem memory;
|
|
|
|
|
Kernel::KernelSystem kernel(memory, timing, [] {}, 0, 1, 0);
|
|
|
|
|
Kernel::KernelSystem kernel(
|
|
|
|
|
memory, timing, [] {}, 0, 1, 0);
|
|
|
|
|
auto [server, client] = kernel.CreateSessionPair();
|
|
|
|
|
HLERequestContext context(kernel, std::move(server), nullptr);
|
|
|
|
|
|
|
|
|
@ -241,7 +240,8 @@ TEST_CASE("HLERequestContext::PopulateFromIncomingCommandBuffer", "[core][kernel
|
|
|
|
|
TEST_CASE("HLERequestContext::WriteToOutgoingCommandBuffer", "[core][kernel]") {
|
|
|
|
|
Core::Timing timing(1, 100);
|
|
|
|
|
Memory::MemorySystem memory;
|
|
|
|
|
Kernel::KernelSystem kernel(memory, timing, [] {}, 0, 1, 0);
|
|
|
|
|
Kernel::KernelSystem kernel(
|
|
|
|
|
memory, timing, [] {}, 0, 1, 0);
|
|
|
|
|
auto [server, client] = kernel.CreateSessionPair();
|
|
|
|
|
HLERequestContext context(kernel, std::move(server), nullptr);
|
|
|
|
|
|
|
|
|
|