aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc/svc_thread.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: emulate six CPU coresTakoroka7 days1-2/+2
| | | | | | | Switch 2 applications are given cores 0..5 (title 4's npdm) and start a job worker per core. With four emulated cores, 4 and 5 were folded onto 0 and 1, so two cores ran two workers each. Switch 1 titles keep using cores 0..3; core 3 stays the shared system core.
* kernel: fold Switch 2 virtual cores 4/5 onto emulated coresTakoroka8 days1-0/+17
| | | | | | | Switch 2 titles get core mask 0x3f and nn::oe creates a thread on core 5. Eden emulates four cores, so fold virtual cores 4..7 onto 0..3 in CreateThread and SetThreadCoreMask (after validating against the real process mask).
* [fmt] use {#:x} instead of 0x{:#x} (#4170)lizzie2026-07-251-7/+7
| | | | | | | | | | 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-30/+22
| | | | | | | | | | 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>
* [kernel, hle] Initial 22.0.0 kernel changes and cmd stubs (#3761)maufeat2026-05-051-2/+7
| | | | | | | | | | | | | - KProcess::Run() and CreateThread() SVC now write the current thread handle to TLS+0x110 - KPageTableBase::LockForMapDeviceAddressSpace now checks for a new KPageTableBase boolean, m_allowed_exec_device_mapping - Stub `am` + `acc` + `settings` cmd module that needs to work for qlaunch Thanks to: @alula and @yellows8 Source for changes: https://github.com/Atmosphere-NX/Atmosphere/pull/2744, https://switchbrew.org/, https://yls8.mtheall.com/ Co-authored-by: PavelBARABANOV <pavelbarabanov94@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3761 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-091-3/+3
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [fmt] use {:#X} for format instead of 0x{:X} (#309)lizzie2025-08-271-1/+4
| | | | | | | | 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>
* scope_exit: Make constexprFearlessTobi2024-02-191-1/+3
| | | | | Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
* core: refactor emulated cpu core activationLiam2023-12-041-40/+10
|
* kernel: update KProcessLiam2023-10-211-6/+1
|
* kernel: remove relative task registrationLiam2023-08-141-9/+20
|
* kernel: reduce page table region checkingLiam2023-07-141-1/+1
|
* k_process: PageTable -> GetPageTableLiam2023-07-141-1/+1
|
* Remove memory allocations in some hot pathsKelebek12023-06-221-1/+1
|
* memory: rename global memory references to application memoryLiam2023-03-231-2/+2
|
* kernel: use KTypedAddress for addressesLiam2023-03-221-4/+4
|
* kernel: convert KThread to new styleLiam2023-03-121-4/+1
|
* kernel: prefer std::addressofLiam2023-03-121-4/+4
|
* kernel/svc: convert to new styleLiam2023-03-121-43/+18
|
* kernel: clone fpu status on CreateThreadLiam2023-03-071-0/+3
|
* kernel: use GetCurrentProcessLiam2023-02-131-15/+15
|
* kernel/svc: switch to generated wrappersLiam2023-02-061-61/+102
|
* kernel/svc: Split implementations into separate filesLiam2023-02-041-0/+396