diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-25 14:23:22 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-25 14:23:22 +1000 |
commit | 0adeac26af77c7fb0605b08ab858a7c8262ffc88 (patch) | |
tree | e568f6b0ca30bb8ff9bb57ce622b275b8147ca0f /src/citron | |
parent | 37677052c186a3a0f6e6e0a1c6f842d4e7eeadeb (diff) |
service: mm: Implement proper parameter handling for MM service
Add proper type definitions and parameter handling for the Memory Management
(mm:u) service based on the Switch documentation:
- Add Module enum for hardware components (CPU, GPU, EMC, etc)
- Add Priority and Setting type definitions as u32
- Add EventClearMode enum for initialization
- Implement proper parameter handling for all IPC calls
- Add detailed logging with parameter values
The Module enum now properly reflects the documented hardware components:
CPU, GPU, EMC, System Bus, Memory Select, and NVIDIA modules (NVDEC,
NVENC, NVJPG).
This makes the implementation match the documented nn::mmnv::IRequest
interface.
Refs: switchbrew.org/wiki/Display_services#mm:u
Diffstat (limited to 'src/citron')
0 files changed, 0 insertions, 0 deletions