Panda3DS/include/kernel.hpp
2022-09-15 18:43:20 +03:00

22 lines
No EOL
348 B
C++

#pragma once
#include <array>
#include "helpers.hpp"
#include "memory.hpp"
namespace SVCResult {
enum : u32 {
Success = 0
};
}
class Kernel {
std::array<u32, 16>& regs;
Memory& mem;
public:
Kernel(std::array<u32, 16>& regs, Memory& mem) : regs(regs), mem(mem) {}
void serviceSVC(u32 svc);
void reset();
void createAddressArbiter();
};