diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-01-25 14:23:22 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-11 12:38:23 +0100 |
| commit | 49b17b42d0487786b6db08074c498a599ba28b41 (patch) | |
| tree | 5c38790eb56b2818b0d4138f308dc8d5ba4e5333 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 884a47cab02ed9f61b4bb5557ecfb6dd8d9f237b (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/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
