Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common: Replace lock_guard with scoped_lock | Merry | 2022-04-07 | 1 | -2/+2 |
| | |||||
* | general: Fix clang/gcc build errors | ameerj | 2022-03-20 | 1 | -0/+1 |
| | |||||
* | common: Reduce unused includes | ameerj | 2022-03-19 | 1 | -1/+0 |
| | |||||
* | host_memory: Fix fastmem crashes in debug builds | Morph | 2022-03-03 | 1 | -2/+2 |
| | | | | | | It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode. Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com> | ||||
* | general: Add missing copyright notices | ameerj | 2021-12-05 | 1 | -0/+4 |
| | |||||
* | Fixed invalid iterator usage | Andrew Strelsky | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | host_memory: Add workaround for FreeBSD 12 | Jan Beich | 2021-07-27 | 1 | -0/+5 |
| | | | | | | | src/common/host_memory.cpp:360:14: error: use of undeclared identifier 'memfd_create' fd = memfd_create("HostMemory", 0); ^ | ||||
* | host_memory: Enable Linux implementation on FreeBSD | Jan Beich | 2021-07-27 | 1 | -2/+2 |
| | | | | HW.Memory <Critical> common/host_memory.cpp:HostMemory:492: Fastmem unavailable, falling back to VirtualBuffer for memory allocation | ||||
* | host_memory: Correct MEM_RESERVE_PLACEHOLDER | lat9nq | 2021-06-19 | 1 | -1/+1 |
| | | | | | Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our manually imported version of it drops the last zero. | ||||
* | common/host_memory: Implement a fallback if fastmem fails. | Markus Wick | 2021-06-11 | 1 | -14/+45 |
| | | | | | | This falls back to the old approach of using a virtual buffer. Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all. | ||||
* | common/host_shader: Load Windows 10 functions dynamically | ReinUsesLisp | 2021-06-11 | 1 | -29/+88 |
| | | | | Workaround old headers and libraries shipped on MinGW. | ||||
* | host_memory: Support staged VirtualProtect calls | ReinUsesLisp | 2021-06-11 | 1 | -3/+12 |
| | |||||
* | common/host_memory: Optimize for huge tables. | Markus Wick | 2021-06-11 | 1 | -10/+19 |
| | | | | | In theory, if we have 2 MB continously mapped, this should save one layer of TLB. Let's make it at least more likely by aligning the memory. | ||||
* | common/host_memory: Add Linux implementation | Markus Wick | 2021-06-11 | 1 | -10/+120 |
| | |||||
* | common/host_memory: Add interface and Windows implementation | ReinUsesLisp | 2021-06-11 | 1 | -0/+320 |