Add MCU::HWC

This commit is contained in:
wheremyfoodat 2023-08-19 17:44:28 +03:00
parent a13792996c
commit c544dd1567
7 changed files with 75 additions and 28 deletions

View file

@ -0,0 +1,17 @@
#include "ipc.hpp"
#include "result/result.hpp"
#include "services/mcu/mcu_hwc.hpp"
namespace MCU::HWCCommands {
enum : u32 {
};
}
void MCU::HWCService::reset() {}
void MCU::HWCService::handleSyncRequest(u32 messagePointer) {
const u32 command = mem.read32(messagePointer);
switch (command) {
default: Helpers::panic("MCU::HWC service requested. Command: %08X\n", command);
}
}