aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/board
Commit message (Collapse)AuthorAgeFilesLines
* nx2: shrink the graphics server pool to 2 GiBTakoroka4 days1-1/+4
| | | | | | | | | | | | The 12 GB layout added 8 GiB of DRAM for memory the Switch 2 graphics server keeps, and the whole emulated DRAM is committed at boot, so Switch 2 games needed 20 GB of free commit ("Failed to allocate 20480 MiB of backing memory" on PCs with 16 GB). With GPU-only regions backed as they are written and sparse regions taking tiles from the game's memory, Mario Kart World keeps ~1.1 GiB of the pool (texture pools it fills at boot, flat afterwards) and Splatoon Raiders none. 2 GiB leaves room and brings the commit to 14 GB. A title that runs the pool dry loses GPU writes into its unbacked blocks and logs it once.
* Switch 2: back GPU-only regions outside the application poolTakoroka7 days2-1/+5
| | | | | | | | | nx2:gpu 214 regions are memory the graphics server keeps itself, but Eden took their pages from the application pool: title 4's six 300 MB regions left it 1.8 GB less than the 9.55 GiB the kernel reports, all of which its heap and VAMM plan to use. Add 8 GiB of DRAM to the 12 GB layout for the non-secure system pool and back the regions from there; the device memory tracker now covers 32 GiB of physical memory.
* [common] unify std::random_device (#3801)lizzie2026-03-312-10/+6
| | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3801 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [meta] fix license headers (#2547)lizzie2025-09-212-0/+6
| | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-092-4/+4
| | | | | | | | | | | | | | 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>
* fix a large variety of issues (#101)swurl2025-05-112-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - GLASM/SPIR-V mixup on Android - potential greenscreen fix (thx suyu) - save memory layout and add 10gb/12gb options - potential samsung gaming hub fix - fix layout of controller UI - fix default settings to sensible defaults. - note to TotK that you should increase memory layout - Error checking for Windows linking - fix an IDE error - improved migration system w/threading and busy indicator - disabled citron migration for now - replaced some user-facing legacy strings with eden - Added 10GB and 12GB DRAM layouts - Fix Android black screen issues - add discord link & update FAQ/Quickstart - update links in about page - add back rich presence - add Don't show again for desktop pre alpha banner - add citron warning to android and polaris to desktop Signed-off-by: swurl <swurl@swurl.xyz> Co-authored-by: Pavel Barabanov <pavelbarabanov94@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/101 Co-authored-by: swurl <swurl@swurl.xyz> Co-committed-by: swurl <swurl@swurl.xyz>
* kernel: add KPageTableBaseLiam2023-11-102-3/+17
| | | | Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
* kernel: update KProcessLiam2023-10-212-0/+72
|
* k_system_control: Always return some memory sizelat9nq2023-07-211-0/+2
|
* core,common: Give memory layout setting an enumlat9nq2023-07-211-4/+16
| | | | Allows for 6GB and 8GB layouts to be selected.
* settings: rename extended memory layout to unsafe, move from general to systemLiam2023-04-301-3/+4
|
* kernel: move more memory to application in 8GB arrangementLiam2023-04-091-2/+4
|
* kernel: switch extended memory setting to 8GB arrangementLiam2023-04-081-2/+2
|
* kernel: use KTypedAddress for addressesLiam2023-03-224-10/+12
|
* kernel: move KMemoryLayout for NX boardLiam2023-03-121-0/+201
|
* kernel: adjust pool allocationsLiam2023-03-011-6/+15
|
* core: hle: kernel: k_system_control: Add SecureAppletMemorySize.bunnei2022-11-031-0/+4
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-235-15/+10
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* k_system_control: Fix data racelat9nq2022-04-051-3/+3
| | | | | | `return distribution(gen)` is a data race between a read and a write in two threads, reported by TSan. Remove static random number generators so they aren't using the same generator.
* hle: kernel: board: nx: Add k_memory_layout.h header.bunnei2022-02-271-0/+13
|
* hle: kernel: k_system_control: Add GetRealMemorySize and update ↵bunnei2022-02-272-1/+12
| | | | GetKernelPhysicalBaseAddress.
* hle: kernel: KSystemControl: Use 6GB memory layout when ↵bunnei2022-02-211-20/+4
| | | | | | "use_extended_memory_layout" setting is enabled. - This uses a larger 6GB DRAM memory layout, which is useful for some mods that require more memory.
* core: Remove unused includesameerj2021-11-031-2/+0
|
* common: Replace common_sizes into user-literalsWunkolo2021-06-241-17/+20
| | | | | | | | | | | | | Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals.
* hle: kernel: k_system_control: Remove unnecessary inline.bunnei2021-03-231-4/+4
|
* common: common_sizes: Move sizes to the Common namespace.bunnei2021-03-231-16/+16
|
* hle: kernel: board: k_system_control: Extend to include memory region sizes.bunnei2021-03-212-1/+125
|
* hle: kernel: board: Add secure_monitor module.bunnei2021-03-211-0/+26
|
* hle: kernel: KSystemControl: Update to reflect board-specific behavior.bunnei2021-03-212-0/+68
|
* hle: kernel: Add architecture and board specific memory regions.bunnei2021-03-211-0/+52