summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* host_memory: Add workaround for FreeBSD 12Jan Beich2021-07-271-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 FreeBSDJan Beich2021-07-271-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_PLACEHOLDERlat9nq2021-06-191-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 Wick2021-06-111-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 dynamicallyReinUsesLisp2021-06-111-29/+88
| | | | Workaround old headers and libraries shipped on MinGW.
* host_memory: Support staged VirtualProtect callsReinUsesLisp2021-06-111-3/+12
|
* common/host_memory: Optimize for huge tables.Markus Wick2021-06-111-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 implementationMarkus Wick2021-06-111-10/+120
|
* common/host_memory: Add interface and Windows implementationReinUsesLisp2021-06-111-0/+320