[CAM] Add service skeleton
This commit is contained in:
19
include/services/cam.hpp
Normal file
19
include/services/cam.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class CAMService {
|
||||
Handle handle = KernelHandles::CAM;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, camLogger)
|
||||
|
||||
// Service commands
|
||||
void driverInitialize(u32 messagePointer);
|
||||
|
||||
public:
|
||||
CAMService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "services/am.hpp"
|
||||
#include "services/apt.hpp"
|
||||
#include "services/boss.hpp"
|
||||
#include "services/cam.hpp"
|
||||
#include "services/cecd.hpp"
|
||||
#include "services/cfg.hpp"
|
||||
#include "services/dsp.hpp"
|
||||
@@ -38,6 +39,7 @@ class ServiceManager {
|
||||
AMService am;
|
||||
APTService apt;
|
||||
BOSSService boss;
|
||||
CAMService cam;
|
||||
CECDService cecd;
|
||||
CFGService cfg;
|
||||
DSPService dsp;
|
||||
|
||||
Reference in New Issue
Block a user