aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc/svc_info.cpp
Commit message (Collapse)AuthorAgeFilesLines
* kernel: EDEN_NX2_MEM_TRACE logs heap, physical memory and memory info requestsTakoroka7 days1-1/+12
|
* kernel: stub Switch 2 svcGetInfo 31/32 (remote memory)Takoroka8 days1-0/+11
| | | | | | nn::os::GetRemoteMemoryUsage returns {id 31, id 32}; nn::gsv and nn::nvsrv BootWithRemoteMemory use it while booting the graphics system. Return 0 for both for now (logged).
* kernel: svcGetInfo 33 is a page granule; give 29/30 a real regionTakoroka8 days1-11/+15
| | | | | | | The SDK checks module address/size against (id33 - 1) when initialising DSOs, so id 33 is a page granule: return 0x1000. Report ids 29/30 as the upper half of the alias region (a plausible VAMM address-space region, backed through MapPhysicalMemory) instead of an empty region.
* kernel: stub Switch 2 svcGetInfo ids 29, 30 and 33Takoroka8 days1-0/+19
| | | | | | | | nnosInitialize queries ids 29/30 between the alias (2/3) and ASLR (12/13) regions and aborts if they fail; report an empty region after the alias region. VammManager::Initialize (enabled when the system resource size is non-zero) queries id 33 and passes it to MapPhysicalMemory as a size, so return 2 MiB. Both are logged as stubs; the real meanings are unknown.
* [hle] Firmware 23.0.0 (#4390)lizzie2026-09-101-0/+7
| | | | | | | | | | | | | | | | | | Preparing when something inevitably requires *at least* this reporting of version/etc. Authored-by: @Maufeat Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Co-authored-by: Maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4390 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [hle] VirtualBoy classics fixes, QLaunch IPC fixes, implement extra ams ↵lizzie2026-09-081-71/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | SVCInfo (#4343) Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- `OpenSystemApplicationProxy` `OpenSystemApplicationProxy` ALSO yes those cmds DO NOT take an attribute Implemented SVC infos to match Atmosphere's values Implement more stub I2C session cmds stub CMD2103 for rhythm groove better error handling on svc get info to match ams (see ams svc info) Virtual Boy classic fix adept from https://git.ryujinx.app/projects/Kenji-NX/commit/2288084b531b185f5840a696b23265014f07e2f2 by @Mythrax acc:u1 was missing the *Deprecated cmd Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4343 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [fmt] use {#:x} instead of 0x{:#x} (#4170)lizzie2026-07-251-4/+4
| | | | | | | | | | continuation of #309 but applying to even more files than before :) also makes them lowercase because `0xfafafa` is better as `0XFAFAFA` Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4170 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [video_core, hle] remove redundant parent references in system structs (#3908)lizzie2026-06-231-10/+10
| | | | | | | | | | reworked a bit to remove references of parent objects and instead pass as arguments to methods to prevent useless reloads Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3908 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev>
* [svc] Implement GetSystemInfo (#3217)Maufeat2025-12-271-2/+42
| | | | | | | | | | This function is a copy-cat implementation of Ryujinx's method Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3217 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
* [fmt] use {:#X} for format instead of 0x{:X} (#309)lizzie2025-08-271-1/+1
| | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/309 Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [core] Unstub AliasRegionExtraSize (#260)SDK-Chan2025-08-201-7/+16
| | | | | | | | | | | | | This implementation is basically usable for up to 8GB of DRAM which you can set in the emulator. It should ensure that the alias or map region for the virtual address space is bigger when requested. 8GB DRAM is the size of Nintendos DRAM sticks in the developers kit. Going above 8GB DRAM while emulating a game is not recommended. That is why this implementation. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/260 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev> Co-authored-by: SDK-Chan <sdkchan@eden-emu.dev> Co-committed-by: SDK-Chan <sdkchan@eden-emu.dev>
* Service: Add AliasRegionExtraSizeJPikachu2025-04-121-1/+6
| | | | | Thanks to Briar for finding and testing the Service Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
* revert 789bbd7ab5929bbab5b81b39bbf82faf392f13c4JPikachu2025-04-101-10/+0
| | | | This needs to be put aside for now, but may be implemented again later
* kernel: Implement SystemResourceSize info type for VAMM initializationZephyron2025-04-041-0/+10
| | | | | | | | | | | | | | | | | Adds support for InfoType::SystemResourceSize (0x1C) which is required for proper initialization of the Virtual Address Memory Manager (VAMM). This implementation: 1. Adds SystemResourceSize to the InfoType enum in svc_types.h 2. Implements the GetInfo handler for SystemResourceSize in svc_info.cpp 3. Returns 512MB (0x20000000 bytes) as the system resource size 4. Adds debug logging for the SVC call The 512MB value is chosen based on typical system resource allocations needed for VAMM initialization on the Nintendo Switch. This fixes crashes in games that rely on VAMM functionality, particularly during nn::os::detail::VammManager::InitializeIfEnabled().
* kernel: restrict nce to applicationsLiam2023-12-221-1/+0
|
* kernel: update KProcessLiam2023-10-211-10/+18
|
* k_process: PageTable -> GetPageTableLiam2023-07-141-8/+8
|
* core_timing: Use CNTPCT as the guest CPU tickMorph2023-06-071-2/+2
| | | | | Previously, we were mixing the raw CPU frequency and CNTFRQ. The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
* kernel: use KTypedAddress for addressesLiam2023-03-221-5/+5
|
* kernel: convert KProcess to new styleLiam2023-03-121-1/+1
|
* kernel: prefer std::addressofLiam2023-03-121-2/+2
|
* kernel/svc: convert to new styleLiam2023-03-121-63/+38
|
* service: refactor server architectureLiam2023-02-211-0/+5
| | | | Converts services to have their own processes
* kernel: use GetCurrentProcessLiam2023-02-131-7/+7
|
* kernel/svc: Fix undefined info_idColin Kinloch2023-02-111-2/+2
|
* kernel/svc: switch to generated wrappersLiam2023-02-061-10/+25
|
* kernel/svc: Split implementations into separate filesLiam2023-02-041-0/+282