aboutsummaryrefslogtreecommitdiff
path: root/src/core/device_memory.h
Commit message (Collapse)AuthorAgeFilesLines
* [common/core/dynarmic] Optimize page table allocations (#4219)Exverge2026-09-091-2/+8
| | | | | | | | | | | | | | Reduces the page entries from 32 bytes to 8 and rewrites `VirtualBuffer` to be more efficient in memory usage and specifically for large zero regions. The page table will now only reserve 1GiB instead of 4GiB and of this memory it should only use at most ~8MiB. This PR has the side effect of using Eden on Windows on low memory systems much more plausible since it would previously require ~10GiB of committable memory at front (despite using ~5-6 at most, inadvertently stalling other processes) where as now it should only require around the amount that it'll actually use. Co-authored-by: Lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4219 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* Core: Initial implementation of device memory mappingFernando Sahmkow2024-01-181-0/+16
|
* kernel: use KTypedAddress for addressesLiam2023-03-221-6/+8
|
* core: device_memory: Templatize GetPointer(..).bunnei2022-10-181-4/+6
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* core: device_memory: Use memory size reported by KSystemControl.bunnei2022-02-211-4/+0
| | | | - That way, we can consolidate the memory layout to one place.
* core: Make use of fastmemMarkus Wick2021-06-111-7/+10
|
* device_memory: Remove unused system memberLioncash2020-07-271-6/+2
| | | | This isn't used by anything in particular, so it can be removed.
* core: hle: Address various feedback & code cleanup.bunnei2020-04-171-7/+9
| | | | - Should be no functional changes.
* core: device_memory: Remove incorrect usage of constexpr.bunnei2020-04-171-2/+6
|
* kernel: memory: page_table: Simplify GetPhysicalAddr impl.bunnei2020-04-171-7/+3
|
* core: device_memory: Update to use VirtualBuffer class.bunnei2020-04-171-6/+7
|
* core: device_manager: Add a simple class to manage device RAM.bunnei2020-04-171-0/+48